Installing Python 3 on Mac OS X
To install Homebrew, open
Terminal or your favorite OSX terminal emulator and run
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
The script will explain what changes it will make and prompt you before the installation begins. Once you’ve installed Homebrew, insert the Homebrew directory at the top of your
PATH environment variable. You can do this by adding the following line at the bottom of your
Now, we can install Python 3:
$ brew install python3
This will take a minute or two.