Mac wxPython安装

2013-10-30 20:13  1184人阅读  评论 (0)

设置环境变量

export VERSIONER_PYTHON_PREFER_32_BIT=yes

设置默认32位

defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
defaults write com.apple.versioner.python Prefer-32-Bit -bool no

wxPython安装

sudo installer -pkg /Volumes/wxPython2.8-osx-unicode-2.8.12.1-universal-py2.7/wxPython2.8-osx-unicode-universal-py2.7.pkg/ -target /
sudo installer -pkg /Volumes/wxPython2.9-osx-2.9.5.0-cocoa-py2.7/wxPython2.9-osx-cocoa-py2.7.pkg/ -target /

参考连接

http://stackoverflow.com/questions/2565201/wxpython-incompatible-with-snow-leopard