一、安裝
$ brew install pyenv
二、使用pyenv安裝python3.7
$ pyenv install 3.7.0
$ pyenv versions
* system (set by /Users/shijun/.pyenv/version)
3.7.0
三、全局變量
$ pyenv global 3.7.0
system
* 3.7.0 (set by /Users/shijun/.pyenv/version)
一、安裝
$ brew install pyenv
二、使用pyenv安裝python3.7
$ pyenv install 3.7.0
$ pyenv versions
* system (set by /Users/shijun/.pyenv/version)
3.7.0
三、全局變量
$ pyenv global 3.7.0
system
* 3.7.0 (set by /Users/shijun/.pyenv/version)