错误解决办法:zipimport.ZipImportError: can't decompress data; zlib not available
发表于:2023-01-31 |

简介: 错误解决办法:zipimport.ZipImportError: can't decompress data; zlib not available 在LINUX上,下载编译PYTHON3时(make && make install),提示错误:

zipimport.ZipImportError: can't decompress data; zlib not available
这是缺少依赖库。 执行如下命令:

apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev

上一篇:
ubuntu 更换pip源
下一篇:
修改预留端口号防止被占用