[Image-SIG] Need help installing PIL 1.1.5 on OSX (LONG)

Jack Wu wulabs at gmail.com
Fri Sep 22 19:21:29 CEST 2006

<I forgot to reply all to mailing list, here is what I emailed to
Fedrick yesterday.>

Thanks for replying.

Actually I also had tried that earlier, to no avail.  Sorry i forgot
to mention it in my long email.  A note, the filename says OSX10.4, I
have OSX10.3.9...but it didn't give me any errors while installing.

Just for kicks I installed again right now, here is the process and the output:
1) install via GUI, everything went okay

2) python -vv -c "import imaging" returned this in the middle of output:
import _imaging # dynamically loaded from

3) _imaging.so in main python dir was updated (previously was ~600KB):
Jack-Wus-Computer:~ jackwu$ ls -la
-rw--w----  1 jackwu  admin  931268 19 Apr 09:23

4) self test still fails:
Jack-Wus-Computer:~/Desktop/Imaging-1.1.5 jackwu$ python selftest.py
Failure in example: _info(Image.open("Images/lena.jpg"))
from line #24 of selftest.testimage
Exception raised:
Traceback (most recent call last):
 File "./doctest.py", line 499, in _run_examples_inner
   exec compile(source, "<string>", "single") in globs
 File "<string>", line 1, in ?
 File "./selftest.py", line 21, in _info
 File "PIL/ImageFile.py", line 180, in load
   d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
 File "PIL/Image.py", line 328, in _getdecoder
   raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available
1 items had failures:
  1 of  55 in selftest.testimage
***Test Failed*** 1 failures.
*** 1 tests of 55 failed.


On 9/22/06, Bob Ippolito <bob at redivi.com> wrote:
> On 9/22/06, Christopher Barker <Chris.Barker at noaa.gov> wrote:
> > Fredrik Lundh wrote:
> > > any reason you cannot use the prebuilt version ?
> > >
> > >      http://pythonmac.org/packages/py24-fat/index.html
> >
> > or, if you don't want to  upgrade python:
> >
> > http://www.pythonmac.org/packages/legacy.html
> You don't have to, he said he was using 2.4.1, which can still use
> universal extensions built for 2.4.3.
> -bob
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig

Jack Wu

More information about the Image-SIG mailing list