Installing wxPython on MacOS(SnowLeopard)

memo for myself.

It's not very simple to install wxPython on MacOSX, because it's been using Carbon and Cocoa version is released only as unstable version.

  1. install wxPython2.9 downloaded from here
  2. install python framework-build with homebrew.
    brew install python --framework
  3. set PYTHONPATH
    PYTHONPATH=$PYTHONPATH:/usr/local/lib/wxPython/lib/python2.7/site-packages/wx-2.9.1-osx_cocoa

Comments

Popular posts from this blog

Subclassing and Signal connect on a same widget crashes PySide application on exit.

Calling OpenCV functions via Cython from Python 3.X.

Showing CPU/Memory usage on tmux status bar(tmuxのステータスバーにCPUとMemoryの使用状況を表示する)