python 尝试安装zlib时出现Pip错误

oknwwptz  于 2022-12-02  发布在  Python
关注(0)|答案(3)|浏览(318)

我是Python和编程的新手,在通过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
1tuwyuhd

1tuwyuhd1#

zlib不是一个python包,你可以试试yum/apt-get install zlib-develyum/apt-get install zlib

gwbalxhn

gwbalxhn2#

对于Ubuntu:sudo apt-get install zlib1g-dev

mepcadol

mepcadol3#

在Mac上使用自制软件:

brew install zlib

相关问题