[Pythonmac-SIG] XCode fails to see py2app

Bob Ippolito bob at redivi.com
Fri Sep 30 01:19:30 CEST 2005


On Sep 29, 2005, at 6:24 PM, Frederick C. Lee wrote:

> Greetings (totally green neophyte trying to crawl back into the  
> MacPython camp):
>     I recently ran install pyobjc 1.3.7.
>
> The following is one (1) of the modules installed (copied from  
> installer dialog window):
>
> (Required) Pure Python modules and packages
> Installed to: /Library/Python/2.3/site-packages
>
> I did a check to see if I got the stuff installed:
>
> [/Users/Ric]ls /Library/Python/2.3/site-packages
> Extras.pth      PyObjC.pth      dbflib.py       dbflibc.so       
> py2app.pth      shapelib.pyc    shptree.so
> PyObjC/         README          dbflib.pyc      py2app/          
> shapelib.py     shapelibc.so
>
>
> So it appears the installation went okay.
>
> I started to build the demo project "PyAverager 2" and got the  
> following build error:
>
> /usr/bin/env /Users/Ric/Downloads/PyAverager2/setup.py py2app --alias
> Traceback (most recent call last):
>   File "/Users/Ric/Downloads/PyAverager2/setup.py", line 38, in ?
>     import py2app
> ImportError: No module named py2app

You must have more than one Python interpreter installed or  
something.  Whichever one Xcode is choosing (by PATH) is not the one  
you installed PyObjC for.

-bob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20050929/f621c4bc/attachment.html


More information about the Pythonmac-SIG mailing list