Option 2: Pyenv it!

Pyenv is a simple Python version manager that can manage and install different versions of Python. But STOP!!

Did you get homebrew yet? Pynev is installed using homebrew. So first, we must install pyenv using homebrew:

$ brew install pyenv

Also remember, to upgrade pyenv in the future, use upgrade instead of install. After installing, add pyenv init to your shell to enable shims and autocompletion.

$ echo 'eval "$(pyenv init -)"' >> ~/Projects/config/env.sh

Restart your shell so the path changes take effect. You can now begin using pyenv.

$ exec $SHELL

Last updated