我在shell中使用此命令来安装PIL:
easy_install PIL
Run Code Online (Sandbox Code Playgroud)
然后我跑去python输入:import PIL.但我得到这个错误:
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: No module named PIL
Run Code Online (Sandbox Code Playgroud)
我从未遇到过这样的问题,您怎么看?
我无法安装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
Run Code Online (Sandbox Code Playgroud)
我试过按照这个问题的答案,但我得到了同样的错误.
Stack:Python 2.7,PIP,EC2 Ubuntu机器.