解决在linux环境安装setuptools的相关错误

Posted 破晓

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决在linux环境安装setuptools的相关错误相关的知识,希望对你有一定的参考价值。

RuntimeError: Compression requires the (missing) zlib module 

 

缺少zlib包

 

解决方案     yum install zlib

     yum install zlib-devel

     安装完成后,重新编译安装python #make  make install

      编译完成后进入setuptools目录下安装

以上是关于解决在linux环境安装setuptools的相关错误的主要内容,如果未能解决你的问题,请参考以下文章

解决安装虚拟环境出现的问题(OSError: Command /home/python/.virtua...ngo3_web/bin/python3 - setuptools pkg_resource

Python 搭建webdriver环境遇到的问题总结

Python安装模块出错(ImportError: No module named setuptools)解决方法

python setuptools 为啥安装模块安装不上是我本来setuptools就安装失败了么

Redis Python Linux 运行环境配置

linux环境安装python3的环境(包含setuptools,pip)