Support for Installing Python on OS X

The goal is to install Python on OS X. Ask yourself the following questions to troubleshoot the Python installation.

Can you install Python?

Did you download the Python installer and run it to completion? If you need help, read online about installing Python.

Can you launch Terminal.app?

Read online about how to launch Terminal.

Can you become root?

When you type sudo su into the Terminal, you can become the administrator.

Read online about how to become Administrator.

Can you run python?

Type python --version into the Terminal prompt and press Enter. If Python is installed, it will tell you what version is running. It should look something like this:

> python --version
Python 3.6.3

If you cannot run python --version, then Python is not correctly installed. Read about fixing broken Python installations.

Can you run pip?

Type pip --version into Terminal and press Enter. If pip is installed, it will tell you what version is running. It should look something like this:

> pip --version
pip 9.0.1 from /usr/local/lib/python3.6/site-packages (python 3.6)

Can you install virtualenv?

Were you able to run pip install virtualenv successfully?

What happens when you run pip show virtualenv? It should look something like this:

> pip show virtualenv
Name: virtualenv
Version: 15.1.0
...

Can you install virtualenvwrapper?

Were you able to run pip install virtualenvwrapper successfully?

What happens when you run pip show virtualenvwrapper? It should look something like this:

> pip show virtualenvwrapper
Name: virtualenvwrapper
Version: 4.8.2
...

Did you answer “yes” to all these questions?

  1. Can you launch Terminal?
  2. Can you become root?
  3. Can you install Python?
  4. Can you run python?
  5. Can you run pip?
  6. Can you install virtualenv?
  7. Can you install virtualenvwrapper?

No Yes