错误提示:
ImportError: /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)
解决方案:
修改python加载时的默认运行模式。
在终端运行:
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
或者设置环境变量-VERSIONER_PYTHON_PREFER_32_BIT
export VERSIONER_PYTHON_PREFER_32_BIT=yes
或
setenv VERSIONER_PYTHON_PREFER_32_BIT yes