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

Bob Ippolito bob at redivi.com
Fri Sep 22 19:54:45 CEST 2006


On 9/22/06, Jack Wu <wulabs at gmail.com> wrote:
> <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.

The page says 10.3.9 or later. The filenames say 10.4 because that's
what they were built with. You can't build universal binaries with
10.3.

> 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
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PIL/_imaging.so
>
> 3) _imaging.so in main python dir was updated (previously was ~600KB):
> Jack-Wus-Computer:~ jackwu$ ls -la
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PIL/_imaging.so
> -rw--w----  1 jackwu  admin  931268 19 Apr 09:23
> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PIL/_imaging.so

Which one did you install?

-rw--w----   1 bob  admin  1770444 Apr 19 09:23
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PIL/_imaging.so

> 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:

This leads me to believe that you're not loading the installed PIL
when running this selftest.py. The PIL on that page definitely works
fine, and it's got nothing to do with 10.3.9. You should try actually
using it.

-bob


More information about the Image-SIG mailing list