can i have python 2 and 3 installed mac?
7 Answers. IMHO, the best way to use two different Python versions on macOS is via homebrew . ... Now you can run Python 2.7 by invoking python2 or Python 3 by invoking python3 . In addition to this, you can use virtualenv or pyenv to manage different versions of python environments.