How Can I Install a Previous Version of Python 3 in macOS Using Homebrew?
How Can I Install a Previous Version of Python 3 in macOS Using Brew? with the Command Brew Install Python I Got the Latest Version of Python 3 (Currently...
How can I install a previous version of Python 3 in macOS using brew?
With the command brew install python I got the latest version of Python 3 (currently v3.7.0), but I want the last version of Python 3.6 (currently 3.6.5).
I have read about another package pyenv that can assist in handle different python installation, but this solution is not suitable for me.
8 Answers
Must Read
Short Answer
To make a clean install of Python 3.6.5 use:
brew unlink python # ONLY if you have installed (with brew) another version of python 3
brew install --ignore-dependencies
If you prefer to recover a previously installed version, then:
brew info python # To see what you have previously installed
brew switch python 3.x.x_x # Ex. 3.6.5_1