[Image-SIG] PIL error: IOError: decoder jpeg not available

Rodrigo Senra rsenra at acm.org
Wed May 24 02:10:39 CEST 2006

On 19May 2006, at 2:13 PM, Niurka Perez wrote:

> The same combination of python and PIL versions works great in  
> windows, but when we moved to Linux RedHat, we keep getting the  
> error "decoder jpeg not available". We went through all the README  
> file that comes with PIL and we make sure libjpeg6b was installed,  
> as well as the zlib.
> When PIL is installed it says:
> *** TKINTER support not available
> --- JPEG support ok
> --- ZLIB (PNG/ZIP) support ok
> *** FREETYPE2 support not available
> But a second after PIL installation, we run selftest.py and it  
> keeps saying the error "decoder jpeg not available". As a result,  
> when we test our program, for gif, bmp and tif files the create  
> thumbnails perfectly; for jpg and png we can´t.


try to install the rpm packages that hold libpng and libjpeg
(the RPM package names should be homonimous).
Then, re-install PIL.


Rodrigo Senra
rsenra @ acm.org

More information about the Image-SIG mailing list