【问题标题】:How may i install the Python Imaging Library to django environment?如何将 Python Imaging Library 安装到 django 环境?
【发布时间】:2013-03-01 09:24:26
【问题描述】:

我目前发现很难在精确的穿山甲上安装PIL。 我已按照本教程进行操作 (http://www.sandersnewmedia.com/why/2012/04/16/installing-pil-virtualenv-ubuntu-1204-precise-pangolin/)

当我这样做时:

pip install PIL

我得到错误:

Could not find any downloads that satisfy the requirement PIL
No distributions at all found for PIL

谷歌四处寻找,但无济于事。

【问题讨论】:

  • 看看上面的答案here。您可能会发现安装 'pillow' 更容易,它是 PIL 的一个对 pip 更友好的分支
  • @TimmyO'Mahony 谢谢..

标签: django ubuntu python-imaging-library


【解决方案1】:

您可以使用枕头 --> pip install Pillow

【讨论】:

    【解决方案2】:

    试试这个:

    pip install PIL --allow-external PIL --allow-unverified PIL
    

    【讨论】:

      猜你喜欢
      • 2011-01-06
      • 1970-01-01
      • 1970-01-01
      • 2021-03-18
      • 1970-01-01
      • 2016-09-27
      • 1970-01-01
      • 1970-01-01
      • 2020-01-06
      相关资源
      最近更新 更多