I have both python 2.7 and 3.5.1 installed in my Mac (El Capitan). I left version 2.7 as per this recommendation.
Now I would like to update version 3.5.1 to the latest one but from the command line. Is there a way to do that (preferably from within python itself)?
Best Answer
You can easily switch versions of Python using
pyenv
.For example (using Homebrew):