decode jpeg not available

Fredrik Lundh fredrik at pythonware.com
Thu Sep 23 03:03:04 EDT 1999


Victor S. Miller <victor at idaccr.org> wrote:
> I have Python 1.5.2 build on Solaris 2.6 with gcc 2.7.2.2.  I also
> have tcl8.1 and tk8.1, IJG jpeg-6b and zlib-1.1.3.  I built PIL 1.0
> with all these, and uncommented and built Python with the WITH_PIL
> stuff for tkinter.  However, when I try to use the viewer.py script
> that came with PIL with a jpeg file, I get the following error:
>
> IOError: decoder jpeg not available

this usually means that the autoconfiguration stuff
didn't find your jpeg library.  the easiest way to fix
this is to tweak libImaging/ImConfig.h by hand, and
rebuild.

</F>





More information about the Python-list mailing list