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

Christopher Barker Chris.Barker at noaa.gov
Mon Jan 5 18:08:34 CET 2009


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.

...


> *Installing easy_install script to /Users/joel/bin*
> *Installing easy_install-2.5 script to /Users/joel/bin*

here setuptools has put the easy_install script in your home dir, rather 
than the default script directory. For instance, easy_install is here:

/Library/Frameworks/Python.framework/Versions/Current/bin/easy_install

on my system. typing "which easy_install" may help you figure out what's 
getting used.

So:

I suspect you are having issues with multiple different copies of 
setuptools and/or python.

I'd make sure that you are using the python you think you are.

You might also want to clean out setuptools and re-installs -- I don't 
know of any way to do this automatically, but you can delete stuff from 
site-packages and ALSO from easy_install.pth

Take a look at how PATH is being set also:

echo $PATH

and look in your .bash_profile or wherever your shell PATH is being 
added to, so that's it's set up right for you.

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list