Install Python on OS X

  1. Download Python 3.6 or higher from the official website.
  2. Run the Python installer and follow the steps.
  3. Launch using Finder or Spotlight.
  4. Paste the following in the terminal window:
sudo su
pip install virtualenv virtualenvwrapper

What those commands do:

  1. Obtain Administrator privileges.
  2. Install virtualenv and virtualenvwrapper.

Are Python and virtualenv installed now?

No Yes