相关疑难解决方法(0)

ImportError:没有名为PIL的模块

我在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)

我从未遇到过这样的问题,您怎么看?

python easy-install python-imaging-library

171
推荐指数
18
解决办法
49万
查看次数