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

解决方法:

1、安装依赖zlib、zlib-devel

2、重新编译安装Python

  1. ./configure 
  2. 重新编译安装:make & make install
原文地址:https://www.cnblogs.com/ltz150/p/7228525.html