Switch python version and solve this problem: Fatal Python error: PyThreadState_Get: no current thread
Switch python version in MAC-OS is a confused problem, so i use pyenv to switch python version, it works very well: vinllen@ ~$ python --version Python 2.7.11 vinllen@ ~$ pyenv global <tab> --help 2.7.10 3.4.0 system vinllen@ ~$ pyenv global 3.4.0 --help 2.7.10 3.4.0 system vinllen@ ~$ python --version Python 3.4.0 Problem occurs when i using cmak…