thanks for the warning. removed py2applet - i assume it was installed there by a previous py2app version, right? (i saw that you already updated the documentation accordingly to get rid of py2applet in http:// svn.pythonmac.org/py2app/py2app/trunk/doc/index.html#uninstalling- py2app-0-2-x-or-earlier)
changing the path order would be a problem (at least for me), wouldn't it? my python2.4 (and the approriate link 'python') is in /usr/local/bin (as installed with the latest Python Universal installer if i recall correctly) and if i type 'python' into the terminal i would like this version to be picked up and not the apple version in /usr/bin - which is python2.3 (and the link 'python' to it). i'm just confused if my setup is not correct, but anyways it works for me, so i believe i should be fine. thanks for the help, kaweh On 20.07.2006, at 22:01, Bob Ippolito wrote: > > 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 > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig