当前位置: 代码迷 >> 综合 >> 错误解决办法:zipimport.ZipImportError: can't decompress data; zlib not available
  详细解决方案

错误解决办法:zipimport.ZipImportError: can't decompress data; zlib not available

热度:46   发布时间:2023-12-11 19:29:47.0

 在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

 

  相关解决方案