Python Installation


Install Python 3, following the installation guide:


Install HomeBrew

Go to Copy the Homebrew bootstrap code under “Install Homebrew”:

Launch the application to open a console window. Paste the Homebrew bootstrap code and begin the installation.

# install homebrew (mac osx only)
$ /usr/bin/ruby -e "$(curl -fsSL"

==> This script will install:

Press RETURN to continue or any other key to abort

If prompted to install Apple’s “command line developer tools,” confirm by clicking the Install button.

Follow the prompts to complete the Homebrew installation.

Install Python

In a console window, run the following command to install python3 on Mac OSX:

# install python3 on osx using homebrew
$ brew install python3

Check if the pip3 python package manager is installed by the running the following command:

# verify pip3 is installed
$ pip3

  pip <command> [options]

  install                     Install packages.
  download                    Download packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  check                       Verify installed packages have compatible dependencies.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  hash                        Compute hashes of package archives.
  completion                  A helper command used for command completion.
  help                        Show help for commands.

General Options:
  -h, --help                  Show help.
  --isolated                  Run pip in an isolated mode, ignoring environment variables and user configuration.
  -v, --verbose               Give more output. Option is additive, and can be used up to 3 times.
  -V, --version               Show version and exit.


Check if Python 3 is installed by running the following command:

# verify python3 is installed
$ python3 -V
Python 3.7.2


Install Python

Go to

Click the Latest Python 3 Release - Python 3.x.x link.

Download the appropriate installer at the bottom of the page (Windows x86-64 executable installer for a 64-bit OS, or Windows x86 executable installer for 32-bit).

Run the installer and follow the prompts.

Note: Ensure the Add Python 3.x to PATH checkbox is selected so the interpreter is placed in your execution path.