首页 新闻 会员 周边

MAC下PIL打开jpg问题

0
悬赏园豆:50 [待解决问题]

已安装libjpeg,安装PIL时也显示

--- TKINTER support available

--- JPEG support available

--- ZLIB (PNG/ZIP) support available

--- FREETYPE2 support available

*** LITTLECMS support not available

但是在使用的时候依旧报错

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/Image.py", line 1559, in thumbnail
self.load()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFile.py", line 189, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/Image.py", line 385, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available

heerake的主页 heerake | 初学一级 | 园豆:163
提问于:2014-01-27 23:20
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册