Linux中安Python3.6.5的时候,出现了一个错误:zipimport.ZipImportError: can‘t decompress data; zlib not available
网上找了各种办法都无法解决实际问题,记录下解决过程。
错误:
zipimport.ZipImportError: can‘t decompress data; zlib not available
Makefile:1079: recipe for target ‘install‘ failed
make: *** [install] Error 1
解决办法:安装依赖
1 sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev 2 libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev 3 xz-utils tk-dev
重新sudo make &&sudo make install
原文地址:https://www.cnblogs.com/AC-Milan2019/p/11184195.html
时间: 2024-11-07 15:18:07