首页 > 代码库 > 安装Python3.6.2报错:zipimport.ZipImportError: can't decompress data; zlib not available

安装Python3.6.2报错:zipimport.ZipImportError: can't decompress data; zlib not available

解决方法:

1、安装依赖zlib、zlib-devel

2、重新编译安装Python

 

 

  1. ./configure 
  2. 重新编译安装:make & make install

安装Python3.6.2报错:zipimport.ZipImportError: can't decompress data; zlib not available