JPEG decoder not available in PIL

Fredrik Lundh fredrik at pythonware.com
Wed Dec 7 01:43:33 EST 2005


"Peter" wrote:


> At the last moment I managed to solve this problem and I hope it is
> worth supplying the details here. First there is a file in the install
> directory libImaging/Jpeg.h which has a line:
>
>     #include "jpeglib.h"
>
> but there is no such header file. On my system I put:
>
>     #include "/usr/local/include/jpeglib.h"
>
> which is where the JPEG installation put the include files for the
> library.

note that the setup file does in fact pass in /usr/local/include via the
compiler's -I option, so if the above fix made things work, your compiler
setup is pretty weird...

or maybe you have conflicting versions of libjpeg installed in different
locations?  (but I don't think there has ever been conflicting releases
of libjpeg, so that doesn't seem likely...)

</F>






More information about the Python-list mailing list