[Image-SIG] PIL error with encoder

Fredrik Lundh fredrik at pythonware.com
Mon Aug 2 16:05:30 CEST 2010

2010/8/2 Dhruv Majumdar <dhruv at nettrackers.net>:

> Im new to Python and have been struggling with this error during tests:
> IOError: encoder zip not available
> I have python 2.7 with zlib, jpeg and freetype installed on the server. When
> building PIL it shows support for all three above. However i notice at
> ImageFile._save(im, _idat(fp, chunk), [("zip", (0,0)+im.size, 0, rawmode)])
> I get the abovementioned error.

Make sure your Python script is actually picking up the version you
built.  To see which version it's using, add this to your script:

     import _imaging; print _imaging.__file__


More information about the Image-SIG mailing list