$ brew update && brew upgrade python
$ brew install python3
brew update
brew upgrade python
$ brew switch python 3.7.4_1
$ brew switch python 3.6.5_1
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python
$ brew install --ignore-dependencies https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb
$ brew unlink python
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"