PIL The _imaging C module is not installed
来源:互联网 发布:网络交换机cad图例 编辑:程序博客网 时间:2024/05/29 16:07
按照 “将Texture Packer制作的.pvr.ccz和.plist文件还原为多个原图” 这篇博客中,
写的需要:安装PIL-1.1.7(python2.7.6对应的版本) ,我开始下了一个 PIL-1.1.7.win32-py2.7.exe 但是安装完成后,
出现
C:\Users\PC3\Desktop\te>C:\Users\PC3\Desktop\te\Script1.py aaTraceback (most recent call last): File "C:\Users\PC3\Desktop\te\Script1.py", line 70, in <module> gen_png_from_plist( plist_filename, png_filename ) File "C:\Users\PC3\Desktop\te\Script1.py", line 37, in gen_png_from_plist rect_on_big = big_image.crop(box) File "C:\Python27\lib\site-packages\PIL\Image.py", line 763, in crop self.load() File "C:\Python27\lib\site-packages\PIL\ImageFile.py", line 164, in load self.load_prepare() File "C:\Python27\lib\site-packages\PIL\PngImagePlugin.py", line 381, in load_prepare ImageFile.ImageFile.load_prepare(self) File "C:\Python27\lib\site-packages\PIL\ImageFile.py", line 231, in load_prepare self.im = Image.core.new(self.mode, self.size) File "C:\Python27\lib\site-packages\PIL\Image.py", line 37, in __getattr__ raise ImportError("The _imaging C module is not installed")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位版本的即可。
参考:
http://www.cnblogs.com/myx/p/The_imaging-C-module-is-not-installed.html
2 0
- PIL The _imaging C module is not installed
- PIL报错:The _imaging C module is not installed
- The _imaging C module is not installed
- The _imaging C module is not installed
- The _imaging C module is not installed 转载
- The _imaging C module is not installed ---mark
- 解决PIL “decoder jpeg not available” 和 “ImportError: The _imaging C module is not installed”的问题
- python__The _imaging C module is not installed
- python PIL ImportError: The _imagingft C module is not installed
- PIL “The _imagingft C module is not installed” 错误补救
- ImportError: The _imaging C module is not installed错误解决记录
- python中PIL库在使用时出现The _imagingft C module is not installed错误
- 用pil产生验证码出现:ImportError: The _imagingft C module is not installed
- PIL写入字体出现ImportError:The _imagingft C module is not installed 错误的解决方法
- Python 的PIL,可以解决ImportError The _imagingft C module is not installed
- 解决Windows下PIL库的"The _imagingft C module is not installed"错误
- The _imagingft C module is not installed
- Python图片处理PIL/pillow/生成验证码/出现KeyError: 和The _imagingft C module is not installed
- tomcat杂谈
- mysql--主从复制
- Java乔晓松-httpURLConnection、URL、httpClient、httpPost、httpGet之代码详解篇
- jquery dialog
- 浏览器版本控制
- PIL The _imaging C module is not installed
- 手机卫士-10
- PF_RING 总结
- Chrome“无法添加来自此网站的应用”的解决办法
- XSLT转换出HTML空元素闭合问题
- Extjs创建form表单以及绑定动态数据到grid
- EMVTag系列14《支付环境响应数据》
- 气象项目—相关学习问题记录(一)
- Android ActionBar应用一:ActionBar返回任意页面和顶部搜索栏实现