wget http
://www
.python
.org
/ftp
/python
/3.6.4/Python
-3.6.4.tgz
tar
-xvzf Python
-3.6.4.tgz
cd Python
-3.6.4
./configure
--with
-ssl
make
make install
报错:
can't decompress data
; zlib not available
#执行
apt
-get install zlib
*
需要的话设置环境变量
rm
/usr
/bin
/python
ln
-s
/usr
/local
/bin
/python3 python
ln
-s
/usr
/local
/bin
/pip3 pip
转载请注明原文地址:https://tech.qufami.com/read-21149.html