【发布时间】:2017-05-10 15:09:42
【问题描述】:
我尝试安装 PIL 但出现错误,我该怎么办?
$ Command
Result
------------
$ pip install PIL
Collecting PIL
Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL
--------------------------------------------------------------------
$ pip install PIL --allow-unverified PIL --allow-all-external
DEPRECATION: --allow-all-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
Collecting PIL
Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL
【问题讨论】:
-
什么系统?在 Linux Mint 上,您可以使用
apt-get安装python-pil或python-pillow
标签: python installation python-imaging-library