[Pythonmac-SIG] [ANN] py2app 0.3.2

Bob Ippolito bob at redivi.com
Thu Jul 20 22:01:22 CEST 2006


On Jul 20, 2006, at 12:32 PM, Kaweh Kazemi wrote:

> hi,
>
> i was upgrading from a older version of py2app (pre-setuptools as  
> far as i know), following the instruction at http:// 
> svn.pythonmac.org/py2app/py2app/trunk/doc/index.html#installation
>
> using py2applet failed with:
>
>> $ py2applet --make-setup myapp.py
>> Traceback (most recent call last):
>>   File "/usr/local/bin/py2applet", line 2, in ?
>>     from py2app.scripts.script_py2applet import main
>> ImportError: No module named scripts.script_py2applet
>
>
> so i fixed line 2 in /usr/local/bin/py2applet to
>
>> from py2app.script_py2applet import main
>>
> i hope this was fine. i'm not sure if this was a problem with my  
> installation or a general problem. i'm posting this if anyone else  
> encounters this.

Do not use that fix. It's not at all correct (though it does happen  
to work in this case, mostly by chance). The problem is likely that / 
usr/local/bin is somehow before your python's bin path. rm /usr/local/ 
bin/py2applet and/or change the order of your PATH.

-bob



More information about the Pythonmac-SIG mailing list