Using wxPython
Frank Schima
macsforever2000 at macports.org
Tue May 20 15:28:05 PDT 2008
Hi all,
I'm trying to run a simple wxPython program, but I get a strange error:
This program needs access to the screen.
Please run with 'pythonw', not 'python', and only when you are logged
in on the main display of your Mac.
The program is as follows:
import wx
class App(wx.App):
def OnInit(self):
frame = wx.Frame(parent=None, title='Bare')
frame.Show()
return True
app = App()
app.MainLoop()
There is no "pythonw" in the MacPorts version of Python 2.5. Does
anyone know how I can use wxPython with MacPorts?
I'm running Mac OS X 10.5.2 on a Mac Pro. Xcode 3.0. MacPorts 1.6.
Cheers!
Frank Schima
Boulder, CO
schimaf at boulder.nist.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080520/eadddd70/attachment.htm
More information about the macports-users
mailing list