PIL linux err

D

dzizes

Hi,

I'm trying to run simple .py on linux, which is using PIL. Below error
message which I receive:

File "/usr/lib/python2.4/site-packages/PIL/Image.py", line 960, in
histogram
self.load()
File "/usr/lib/python2.4/site-packages/PIL/ImageFile.py", line 180, in
load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/usr/lib/python2.4/site-packages/PIL/Image.py", line 375, in
_getdecoder
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available

Do you know what might be the problem?

michal
 
J

John Machin

Hi,

I'm trying to run simple .py on linux, which is using PIL. Below error
message which I receive:

File "/usr/lib/python2.4/site-packages/PIL/Image.py", line 960, in
histogram
self.load()
File "/usr/lib/python2.4/site-packages/PIL/ImageFile.py", line 180, in
load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/usr/lib/python2.4/site-packages/PIL/Image.py", line 375, in
_getdecoder
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available

Do you know what might be the problem?

Is your googler broken? See:
http://effbot.org/zone/pil-decoder-jpeg-not-available.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top