List Info

Thread: PIL-1.1.5 jpeg decoder




PIL-1.1.5 jpeg decoder
user name
2006-06-22 17:55:32
I'm installing Imaging-1.1.5 on rhel 4.3.   selftest.py
fails bcs "decoder 
jpeg not available". I have tried going through the
steps on Fredrik Lundh's 
zone.effbot.org page for "decoder jpeg not
available" at 
http://effbot.org/zone/pil-decoder-jpeg-not-available.
htm.  The first step 
is to run ./configure in the libImaging directory. I don't
have a configure 
script in there. Am I missing something?

I have Imaging-1.1.5 running on a CentOS-4.3 box. There is
no configure in 
libImaging/ there either.

I tried changing setup.py to point to the libjpeg directory
but it still 
doesn't find the decoder.

What can I try?     python -vv -c "import
_imaging" gives the following:
<snip>
# trying
/zope/python/lib/python2.3/site-packages/_imagingmodule.so^M
# trying
/zope/python/lib/python2.3/site-packages/_imaging.py^M
# trying
/zope/python/lib/python2.3/site-packages/_imaging.pyc^M
Traceback (most recent call last):^M
  File "<string>", line 1, in ?^M
ImportError: No module named _imaging^M
# clear __builtin__._^M
# clear sys.path^M
</snip>

Thanks


_______________________________________________
Image-SIG maillist  -  Image-SIGpython.org
htt
p://mail.python.org/mailman/listinfo/image-sig
PIL-1.1.5 jpeg decoder
user name
2006-06-22 18:40:57
Scott Nelson wrote:
> I'm installing Imaging-1.1.5 on rhel 4.3.  
selftest.py fails bcs "decoder 
> jpeg not available". I have tried going through
the steps on Fredrik Lundh's 
> zone.effbot.org page for "decoder jpeg not
available" at 
> http://effbot.org/zone/pil-decoder-jpeg-not-available.
htm.  The first step 
> is to run ./configure in the libImaging directory. I
don't have a configure 
> script in there. Am I missing something?

the big blurb at the top of that page that says "This
applies to PIL 
1.1.4 and earlier." and goes on to explain what do for
1.1.5, perhaps ?

(do you have the jpeg library on your machine, btw?  you
need both the 
library and the developer files; installing the
"jpeg-devel" package is 
usually the easiest way to fix this.  with this in place,
the setup 
script should take care of the rest, all my itself.)

(you could also look for python-imaging in your favourite
redhat 
repository.  )

</F>

_______________________________________________
Image-SIG maillist  -  Image-SIGpython.org
htt
p://mail.python.org/mailman/listinfo/image-sig
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )