Install Python 2.7 and Python 3 on Mac OS X
brew install python
brew install python3
#Test using
which python
#Should echo /usr/local/bin/python
If it isn’t then edit your path
brew install python
brew install python3
#Test using
which python
#Should echo /usr/local/bin/python
If it isn’t then edit your path