>>>>> Timothy Smith <[EMAIL PROTECTED]> (TS) wrote: >TS> Not sure exactly what I need to do to get wxPython to work on either of >TS> my Macs. (One's a notebook running Tiger (OS X 10.4.11), the other a Mac >TS> Pro running Leopard (10.5.1.))
>TS> I downloaded what should be the latest binary, and it installed without >TS> error. So Python comes up as >TS> $ python -V >TS> Python 2.5.1 >TS> $ ls -l /usr/bin/python >TS> lrwxr-xr-x 1 root wheel 72 Oct 26 17:59 /usr/bin/python@ -> >TS> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python >TS> $ Did you also install the latest wxPython, with the proper version, corresponding to your python version? >TS> I set PYTHONPATH to >TS> System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 Why would you do that? >TS> The Python interpreter works OK, far as I can tell. wx sort of works, >TS> but all the functionality is not there. For example, working through the >TS> exercises in "WxPython in Action" by Noel Rappin, I find that while I >TS> can create and display a frame, and create an app, stuff like >TS> wx.MessageBox() just doesn't work. >TS> The same exercises work just fine on a Python 2.5.1 installation on my >TS> wife's Windows XP machine. I tried the example (python_compare.py) and it just works, including the MessageBox, on Tiger with python 2.5.1. I run the in Terminal (pythonw python_compare.py) both with and without your PYTHONPATH. How did you run the examples? -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list