简体   繁体   中英

Pip error when trying to install zlib

I'm new to Python and programming and am having trouble installing zlib through pip , I keep having the issue below:

pip install zlib
Collecting zlib
Could not find a version that satisfies the requirement zlib (from versions: )
No matching distribution found for zlib

zlib不是 python 包,您可以尝试yum/apt-get install zlib-develyum/apt-get install zlib

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

On mac using homebrew:

brew install zlib

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM