Thursday, December 13, 2012

Running python in 32-bit mode for wxPython


在 Mac OS X 上面寫 wxpython 時,必須打開 32bit mode 不然他不會動 ...

解法:

加入以下環境變數

export VERSIONER_PYTHON_PREFER_32_BIT=yes


參考

http://stackoverflow.com/questions/2088569/how-do-i-force-python-to-be-32-bit-on-snow-leopard-and-other-32-bit-64-bit-quest

http://stackoverflow.com/questions/4665818/running-python-in-32-bit-more-for-wxpython

No comments:

Post a Comment