Getting wxPython to work on a Mac

cmpython at gmail.com cmpython at gmail.com
Wed Dec 5 02:58:50 EST 2007


On Dec 4, 9:35 pm, Timothy Smith <tssm... at sonic.net> wrote:
> Not sure exactly what I need to do to get wxPython to work on either of
> my Macs. (One's a notebook running Tiger (OS X 10.4.11), the other a Mac
> Pro running Leopard (10.5.1.))
>
> I downloaded what should be the latest binary, and it installed without
> error. So Python comes up as
>
> $ python -V
> Python 2.5.1
> $ ls -l /usr/bin/python
> lrwxr-xr-x  1 root  wheel  72 Oct 26 17:59 /usr/bin/python@ ->
> ../../System/Library/Frameworks/Python.framework/Versions/2.5/bin/python
> $
>
> I set PYTHONPATH to
> System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
>
> The Python interpreter works OK, far as I can tell. wx sort of works,
> but all the functionality is not there. For example, working through the
> exercises in "WxPython in Action" by Noel Rappin, I find that while I
> can create and display a frame, and create an app, stuff like
> wx.MessageBox() just doesn't work.
>
> The same exercises work just fine on a Python 2.5.1 installation on my
> wife's Windows XP machine.
>
> Any help appreciated. (I am obviously both a Python and a Wx beginner.
> And not much of a Unix expert either. :-)

If you don't get an answer here, you should try the wxPython mailing
list:
http://www.wxpython.org/maillist.php
I'm sure they'll be able to help you out (I don't have a Mac, so I
don't know).



More information about the Python-list mailing list