Install pyenv & set path
$ anyenv install pyenv
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
$ source ~/.bash_profile
Python installation
#Installable Ver.Confirmation of
$ pyenv install --list
#Install the latest stabilizer
$ pyenv install 3.6.1
#Installed Ver.To global
$ pyenv global 3.6.1
$ pyenv versions
system
* 3.6.1
Python operation check
$ python
Python 3.6.1 (default, Apr 20 2017, 11:16:55)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
Recommended Posts