python - sudo pip install pil 在 Mac 10.9.1 上出错

标签 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->Download 下。

非常感谢您的帮助

最佳答案

PIL 有一个分支叫做 Pillow这很可能会解决您的问题。

关于python - sudo pip install pil 在 Mac 10.9.1 上出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21135568/

相关文章:

django - 如何在 Django Guardian 中为用户定义默认权限?

python - Django REST Framework 序列化器验证错误

ios - 该服务拒绝此应用程序使用方向服务

xcode - 如何让 xcodebuild 忽略错误

python - 当我远未达到最大连接数时,为什么 PostgreSQL 会说 FATAL : sorry, 客户端数量过多?

Django 和 node.js : throw arguments[1];//Unhandled 'error' event

python - 允许用户使用 django 表单创建 "appointment"

ios - 在不影响 View 内容的情况下更改导航栏项目内容

python - 如何更改 Kivy Garden.graph 中的轴标签颜色?

python - 使用另一个值数组中的唯一元素对值数组应用函数