安装
#yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel
#./configure --prefix=/usr/local/python3 --enable-optimizations (稳定版本激活)
#make && make install
#ln -s /usr/local/python3/bin/python3.7 /usr/bin/python3
#ln -s /usr/local/python3/bin/pip3.7 /usr/bin/pip3
网友评论