我在ubuntu上通过virtualenv使用PIL,并使用pip安装。我已将setup.py文件更改为指向解码器库。 我在安装PIL时收到此消息:
PIL 1.1.7 SETUP SUMMARY
version 1.1.7
platform linux2 2.6.7 (r267:88850, Aug 11 2011, 12:16:10)
[GCC 4.6.1]
--- TKINTER support available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
--- LITTLECMS support available
version 1.1.7
platform linux2 2.6.7 (r267:88850, Aug 11 2011, 12:16:10)
[GCC 4.6.1]
--- TKINTER support available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
--- LITTLECMS support available
但是当我保存文件时,我仍然会收到“IOError:decoder jpeg not available”和“IOError:'decoder zip not available'”消息。 发生了什么事?
答案 0 :(得分:0)
我想我已经遇到过同样的问题。另外,我认为这与此重复 About the PIL Error -- IOError: decoder zip not available