[Pythonmac-SIG] (no subject)

Ronald Oussoren ronaldoussoren at mac.com
Tue Mar 20 09:48:12 CET 2007


On 20 Mar, 2007, at 3:04, Calder Coalson wrote:

> Dear Fellow Macppl,
>
> I've googled this problem, and other people have had it but no one
> has solved it.  I've been developing Python/Cocoa apps for a little
> while, (I'm still bad at it) using the terminal 'python setup.py
> py2app' build sequence, but I'm making a document based application
> now and would like to use the xcode template.  Unfortunately, the
> xcode build sequence doesn't work for me because I get the error:
> ImportError: No module named Py2app
>
> when I try to build the project.  Any suggestions?

The xcode template is using a different version of python. The  
easiest way to fix that is to replace the #! line at the top of  
setup.py by a line that mentions the absolute path of the python  
interpreter that you want to use.

Ronald



More information about the Pythonmac-SIG mailing list