Installing Python 3

Installing Python 3 on Mac OS X

To install Homebrew, open Terminal or your favorite OSX terminal emulator and run

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 ~/.profile file

Now, we can install Python 3:

This will take a minute or two.