在Mac 10.9.1上由sudo pip install pil出错

时间:2014-01-15 10:58:14

标签: python django xcode macos

我正在尝试在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->下载。

非常感谢你的帮助

1 个答案:

答案 0 :(得分:8)

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

相关问题