天天看點

錯誤解決辦法: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