如果发生这种情况,我该如何安装PIL?

时间:2014-01-24 09:31:35

标签: python

sudo pip install PIL
Downloading/unpacking PIL
  Could not find any downloads that satisfy the requirement PIL
  Some externally hosted files were ignored (use --allow-external PIL to allow).
Cleaning up...
No distributions at all found for PIL
Storing debug log for failure in /Users/x/Library/Logs/pip.log

1 个答案:

答案 0 :(得分:2)

而不是PIL使用枕头。枕头是PIL的叉子。

对于Mac OS X中的安装说明,请使用以下链接

https://pillow.readthedocs.org/en/latest/installation.html#mac-os-x-installation