1
发现
我只是pip3
安装枕头(PIL层叉)在Windows上,我可以进口,但Image
类不能被找到:PIL.Image类不能与枕头
>>> import PIL
>>> PIL.Image
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'PIL' has no attribute 'Image'
我做了什么错?
这是很多人遇到的常见错误 –