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

简介: 错误解决办法: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
目录
相关文章
|
关系型数据库 MySQL Linux
【Linux环境】centos安装mysql5.7.26报 ./mysqld: error while loading shared libraries: libaio.so.1: cannot op
【Linux环境】centos安装mysql5.7.26报 ./mysqld: error while loading shared libraries: libaio.so.1: cannot op
265 0
|
3月前
|
应用服务中间件 Shell 网络安全
nginx安装提示 libssl.so.3: cannot open shared object file: No
【8月更文挑战第1天】### 原因 未将安装的ssl中的`libssl.so.3`链接到`/usr/lib`导致缺失。 ### 解决方案 1. 检查openssl是否已安装,若为低版本则需重装。 ```sh whereis openssl
1320 6
|
5月前
|
Ubuntu PHP
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
92 1
configure: error: zlib not installed
configure: error: zlib not installed
129 0
|
Shell 开发工具 C语言
php-7.3.13 configure: error: Please reinstall the libzip distribution
php-7.3.13 configure: error: Please reinstall the libzip distribution
241 0
php-7.3.13 configure: error: Please reinstall the libzip distribution
|
Linux Python
错误解决办法:zipimport.ZipImportError: can't decompress data; zlib not available
错误解决办法:zipimport.ZipImportError: can't decompress data; zlib not available
2040 0