【问题标题】:Error by sudo pip install pil on Mac 10.9.1Mac 10.9.1 上的 sudo pip install pil 出错
【发布时间】:2014-02-03 19:30:05
【问题描述】:

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

非常感谢您的帮助

【问题讨论】:

    标签: python django xcode macos


    【解决方案1】:

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

    【讨论】:

    • 嗨,非常感谢您在安装枕头后的帮助,我需要再次安装 pil 还是枕头是 pil 的替代品?
    • 嗨 Alvaro,我接受并感谢任何帮助更换 pil 确保不再尝试安装 pil。谢谢
    • 无需重新安装PIL;枕头完全取代了它。
    猜你喜欢
    • 2014-09-16
    • 2012-02-23
    • 2014-04-17
    • 2015-06-01
    • 1970-01-01
    • 2015-06-13
    • 2016-08-04
    • 2015-03-16
    • 2016-03-18
    相关资源
    最近更新 更多