Re: PIL error with encoder

Fredrik Lundh <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
2010/8/2 Dhruv Majumdar <[email protected]>:

> 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__

</F>
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.