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

Jack Wu wulabs at gmail.com
Fri Sep 22 20:18:21 CEST 2006


Hi Bob,

I used this package:
PIL-1.1.5-py2.4-macosx10.4.zip

It was an OSX GUI installer, which completed successfully.

"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."
-Ok, I installed it already....hence my previous email where I stated
that the _imaging.so package in my main Python directory changed sizes
to 931KB.
Are you suggesting I run self-test.py from inside the
"PIL-1.1.5-py2.4-macosx10.4.zip" package?  What directory would that
be in, as all I see is a single package file, and it doesn't give any
documentation as to where it installed PIL?

"-rw--w----   1 bob  admin  1770444 Apr 19 09:23"
What file is this?  Is my _imaging.so supposed to be 1770KB?

Thanks for the help,

-Jack


On 9/22/06, Bob Ippolito <bob at redivi.com> wrote:
> 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
>


-- 
Jack Wu


More information about the Image-SIG mailing list