简介: 错误解决办法: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