PIL show() 报错

将 PIL 安装目录下的 ImageShow.py 文件的第 99 行:(我的 Python 安装在 D:Program Filespython 2.6,那  ImageShow.py  文件在:D:Program Filespython 2.6Libsite-packagesPILImageShow.py)

 
return "start /wait %s && del /f %s" % (file, file) 
替换
return "start /wait %s && PING 127.0.0.1 -n 5 > NUL && del /f %s" % (file, file)  
 
 
ImportError: The _imaging C module is not installed 
 

解决方法:

去这个网站 https://pypi.python.org/pypi/Pillow/2.1.0#id2 下一个 Pillow-2.1.0.win-amd64-py2.7.exe (md5) 64位版本的即可。

原文地址:https://www.cnblogs.com/cutepython/p/6106127.html