[Pythonmac-SIG] Re: [Image-SIG] PIL 1.1.4 breaks Python 2.3 on Mac OS X 10.3 Panther

Chris Cogdon chris at cogdon.org
Thu Oct 30 22:16:05 EST 2003

On Oct 30, 2003, at 18:46, Bill Janssen wrote:

>> This one is definitely your fault, I don't know what you did, but this
>> isn't reproducible and it's basically impossible to compile a version
>> mismatched Python module with a stock Panther+Xcode system (i.e. one
>> with no other .
> Bob, I'm not trying pick a fight, I'm just trying to figure out what's
> wrong and fix it.  There's at least one bug in PIL's setup.py file, but
> I don't think that's the problem.
> I'm glad to hear it can be compiled, but *I* still can't do it.  I've
> re-built Python from scratch in a different directory and re-installed
> PIL, with the same results.  I'm building with the new gcc 3.3 from
> Xcode.

I think Bob is saying that there might be an 'old PIL' kicking around 
that python is picking up. I think it's doubtful, given the sys.path 
you've showed us. But... doubtful = still possible.

Try this:

[chris at onca chris]$ python2
Python 2.2.2 (#1, Nov 19 2002, 11:24:29)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import imp
 >>> imp.find_module ( 'Image' )
(<open file '/usr/lib/python2.2/site-packages/PIL/Image.py', mode 'r' 
at 0x815caf8>, '/usr/lib/python2.2/site-packages/PIL/Image.py', ('.py', 
'r', 1))

This isn't on my Mac, obviously, but the result of find_module might 
tell us something.

Bob... can you try the above, too ?

    ("`-/")_.-'"``-._        Chris Cogdon <chris at cogdon.org>
     . . `; -._    )-;-,_`)
    (v_,)'  _  )`-.\  ``-'
   _.- _..-_/ / ((.'
((,.-'   ((,/   fL

More information about the Pythonmac-SIG mailing list