py2app and Bittornado

bsharitt at bsharitt at
Wed Aug 31 01:00:41 CEST 2005

I'm trying to get Bittornado to run on Mac OS X (10.4 with Python
2.3.5) but I've only ever dealt with Python at lower lever scripting
stuff, never wxPython or another GUI stuff. py2app is supposed to be
the tool to create Mac friendly Python applications(like py2exe on
Windows), but the documentation for py2app doesn't seem to be much
help. The script that comes with BitTornado doesn't run when I
type python py2app and produces the following error:

usage: [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: --help [cmd1 cmd2 ...]
   or: --help-commands
   or: cmd --help

error: invalid command 'py2app' (no module named

When I drag the script to PackageInstaller, it creates a Mac installer
package, but all that does is mostly copy the the sane stuff stuff to
/usr/local/bin and when I try to run all I get is:

Traceback (most recent call last):
  File "", line 29, in ?
    from BitTornado.ConfigReader import configReader
  File "/Library/Python/2.3/site-packages/BitTornado/",
line 40, in ?
line 145, in SystemSettings_GetColour
wx._core.PyNoAppError: The wx.App object must be created first!

Any help would be appreciated. Either reply to this or email me.

More information about the Python-list mailing list