python3.6.3 安装:

tar -zxvf Python-3.6..tgz
cd Python-3.6.
./configure
make
make altinstall

`make altinstall` , 报错:

zipimport.ZipImportError: can't decompress data; zlib not available

解决:

cd Modules/zlib
./configure
make install
cd -

转自

python3.6安装 zipimport.ZipImportError: can't decompress data; zlib not available - jaket5219999的博客 - CSDN博客

https://blog.csdn.net/jaket5219999/article/details/78583604

05-19 09:34