Multiple Python versions
Because one does not simply mess with MacOS default Python
Install Homebrew
Homebrew is a package manager for MacOS, must have CLI utility.
Install latest python
MacOS comes with a python version but you should install the latest stable version of python.
Install pip
Download the get-pip
file
Now run this file to install pip
Change global default python to latest python
Install pyenv
pyenv
makes it easy to install, manage, and switch between multiple Pythons versions.
Install multiple python versions in pyenv
Change default python in pyenv to latest and greatest
Running pyenv
To exit the virtual environment
References
Last updated