pip install PIL 报错

来源:互联网 发布:手机淘宝类目怎么修改 编辑:程序博客网 时间:2024/05/17 23:41

使用 pip install PIL 时报如下错误:

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

可能应是 PIL 已经是 deprecated 了,

参考:

http://stackoverflow.com/questions/20060096/installing-pil-with-pip

使用新的 PIL fork 版的 Pillow 即可。

$ sudo pip install Pillow

0 0
原创粉丝点击