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
最佳答案
使用枕头代替 PIL。 pillow 是 PIL 的分支。
有关 Mac OS X 中的安装说明,请使用以下链接,
https://pillow.readthedocs.org/en/latest/installation.html#mac-os-x-installation
关于python - 如果发生这种情况,我该如何安装 PIL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21329021/