问题描述
我通过ubuntu上的virtualenv使用PIL,并通过pip安装.我已经更改了setup.py文件,使其指向解码器库.我在安装PIL时收到此消息:
PIL 1.1.7 SETUP SUMMARY
但是当我保存文件时,仍然收到"IOError:解码器jpeg不可用"和"IOError:'解码器zip不可用"消息.发生什么事了?
我认为我已经遇到了相同的问题.另外,我认为这是重复的关于PIL错误-IOError:解码器zip不可用
- 下载PIL来源
- 下载zlib
- 将PIL源指向zlib
- 重建PIL
I am using PIL through virtualenv on ubuntu, installed with pip. I have changed the setup.py file to point to the decoders libaries. I get this message when I install 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
But I still get "IOError: decoder jpeg not available" and "IOError: 'decoder zip not available'" messages when i'm saving a file.What is happening?
I think I already experienced the same problem. Also, I think this is a duplicate of thisAbout the PIL Error -- IOError: decoder zip not available
- Download PIL Source
- Download zlib
- Point PIL source to zlib
- Rebuild PIL
这篇关于PIL表示其具有“可用的支持"功能.但是在保存文件时仍然给出IOError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!