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
[EMAIL PROTECTED]

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to