python – 在Mac 10.9.1上由sudo pip install pil出错

前端之家收集整理的这篇文章主要介绍了python – 在Mac 10.9.1上由sudo pip install pil出错前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试图在Mac 10.9.1上安装PIL我收到一条错误消息,我无法在这里找到.我已经安装了 Python27,pip,DJango,现在我尝试安装:

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/xxx/Library/Logs/pip.log

有人知道如何解决这个错误吗?

在Xcode上,我检查了是否安装了命令行工具但是它没有出现在Xcode-> preferences-> Download下.

非常感谢您的帮助

解决方法

有一个名为 Pillow的PIL分支,很可能会解决您的问题.

猜你在找的Xcode相关文章