The goal is to install Python on OS X. Ask yourself the following questions to troubleshoot the Python installation.
Did you download the Python installer and run it to completion? If you need help, read online about installing Python.
Read online about how to launch Terminal.
When you type sudo su
into the Terminal, you can become the administrator.
Read online about how to become Administrator.
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.
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)
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
...
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
...
python
?pip
?virtualenv
?virtualenvwrapper
?