使用 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