用man python,可以找到

Like the version of Python, the python command can select between 32 and
     64-bit execution (when both are available).  Use:

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

      将这条语句加到~/.bash_profile,再source ~/.bash_profile就可以了。

posted on 2013-02-28 19:21  NeilHappy  阅读(1632)  评论(0编辑  收藏  举报