1.正常安装过程
代码语言:javascript
复制官网下载源码包
tar -zxvf Python-3.6.3.tgz
cd Python-3.6.3
./configure
make
make install
`make install`时报错:
zipimport.ZipImportError: can't decompress data; zlib not available
解决:
代码语言:javascript
复制cd Modules/zlib
./configure
make install
cd -
make altinstall