目录

zipimport.ZipImportError: can't decompress data; zlib not available make: *** [install] 错误 1

前景

新服务器安装python3.7.0make install的时候报错zipimport.ZipImportError: can't decompress data; zlib not available make: *** [install] 错误 1导致编译安装失败

1.原因

缺少安装python依赖

2.解决

1
2
3
4
5
#安装依赖
yum install zlib* -y     

#重新安装
make install

3.完成

1
python -V