我是Python和编程的新手,在通过pip安装zlib时遇到了麻烦,我一直遇到下面的问题:
pip
zlib
pip install zlib Collecting zlib Could not find a version that satisfies the requirement zlib (from versions: ) No matching distribution found for zlib
1tuwyuhd1#
zlib不是一个python包,你可以试试yum/apt-get install zlib-devel或yum/apt-get install zlib。
yum/apt-get install zlib-devel
yum/apt-get install zlib
gwbalxhn2#
对于Ubuntu:sudo apt-get install zlib1g-dev
sudo apt-get install zlib1g-dev
mepcadol3#
在Mac上使用自制软件:
brew install zlib
3条答案
按热度按时间1tuwyuhd1#
zlib
不是一个python包,你可以试试yum/apt-get install zlib-devel
或yum/apt-get install zlib
。gwbalxhn2#
对于Ubuntu:
sudo apt-get install zlib1g-dev
mepcadol3#
在Mac上使用自制软件: