How can I use Homebrew to install both Python 2 and 3 on Mac?
I would use pyenv You can install it: $ brew install pyenv To enable pyenv in your Bash shell, you need to run: $ eval “$(pyenv init -)” To do this automatically for Bash upon startup, add that line to your ~/.bash_profile. 1 Usage: Once you have installed pyenv and activated it, you can install … Read more