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-devel
或yum/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.