Python Can';不要安装PIL

Python Can';不要安装PIL,python,python-imaging-library,Python,Python Imaging Library,我无法安装PIL。当我运行pip install PIL时,我得到: Downloading/unpacking PIL Could not find any downloads that satisfy the requirement PIL Cleaning up... No distributions at all found for PIL Storing debug log for failure in /tmp/tmpWJojCu 我试着按照问题的答案去做,但我也犯了同样的错误

我无法安装PIL。当我运行
pip install PIL
时,我得到:

Downloading/unpacking PIL
  Could not find any downloads that satisfy the requirement PIL
Cleaning up...
No distributions at all found for PIL
Storing debug log for failure in /tmp/tmpWJojCu
我试着按照问题的答案去做,但我也犯了同样的错误


堆栈:Python2.7、PIP、EC2 Ubuntu机器。

这台机器咬了很多人,
PIL
已经变成了

但是导入名称没有更改,因此它与现在的包名称不同。也就是说,您继续使用:

from PIL import Image

pip安装枕
请参阅前面的注释:使用而不是过时的pip。此外,您的调试日志存储在
/tmp/tmpWJojCu
中,因此请阅读:它将为您提供有关出错原因的更多信息。
from PIL import Image