[英]Pip error when trying to install zlib
我是 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
zlib
不是 python 包,您可以嘗試yum/apt-get install zlib-devel
或yum/apt-get install zlib
。
對於 Ubuntu: sudo apt-get install zlib1g-dev
在使用自制軟件的 Mac 上:
brew install zlib
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.