Python

Installation

Execute the following commands one after the other

brew install pyenv
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
pyenv install 3.7.0
pyenv global 3.7.0
pyenv rehash

Reference

http://sourabhbajaj.com/mac-setup/Python/