Switching between pythons using pyenv on OSX


From pyenv,

pyenv lets you easily switch between multiple versions of Python

As always, I recommend to use homebrew to install pyenv. Assuming that you have already installed homebrew, to install pyenv, you need

brew update
brew install pyenv

This will also create a hidden folder under your user …

more ...