[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

PIL linux err

dzizes451

1/31/2008 6:42:00 PM


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

--
View this message in context: http://www.nabble.com/PIL-linux-err-tp15211773p152...
Sent from the Python - python-list mailing list archive at Nabble.com.

1 Answer

John Machin

1/31/2008 7:49:00 PM

0

On Feb 1, 5:41 am, dzizes <dzizes...@gmail.com> wrote:
> 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-ava...