[Pythonmac-SIG] py2app: Bombing on unknown load command 27

Ned Deily nad at acm.org
Mon Jan 5 20:15:54 CET 2009


In article <49623E92.3070101 at noaa.gov>,
 Christopher Barker <Chris.Barker at noaa.gov> wrote:
> Joel Gluck wrote:
> > Question: when I ran easy_install for py2app as you suggested, it 
> > returned an error:
> 
> Well, I'm not setuptools expert, but I notice the following:
> 
> > *Joel-Glucks-iMac:~ joel$ easy_install py2app==dev*
> 
> ...
> 
> > *(Currently using setuptools 0.6c7 
> 
> so in this case, setuptools 0.6c7 is begin used.
> 
> ...
> 
> > *setuptools 0.6c9 is already the active version in easy-install.pth*
> 
> But now setuptools itself thinks it's already 0.6c9, so it hasn't 
> updated anything.

This appears to be another instance of being bitten by the Apple Leopard 
Python sys.path misfeature.  In short, the Apple-supplied Python for 
10.5 ships with the older version of setuptools and, because of the 
order of directories on its sys.path, the older version is always found 
first.

Jack suggests a workaround in this thread:

<http://comments.gmane.org/gmane.comp.python.apple/13850>

So you could try putting a .pth hack for the newer setuptools into one 
of the directories on sys.path as he suggests.

-- 
 Ned Deily,
 nad at acm.org



More information about the Pythonmac-SIG mailing list