ImportError: No module named ‘Image‘

Pillow是PIL(暂不支持python3)下面的一个分支(https://pypi.python.org/pypi/Pillow/4.0.0),使用PIL直接用import Image,使用Pillow需要写from PIL import Image

参考链接:

http://stackoverflow.com/questions/23503326/python-3-3-with-pillow-importerror-no-module-named-image
http://stackoverflow.com/questions/21128256/why-does-pillow-not-recognize-the-jpeg-format

posted @ 2022-11-13 22:36  dlhl  阅读(25)  评论(0)    收藏  举报