Skip to content
katychuang edited this page Jul 27, 2013 · 13 revisions

Mac OS X

Install Python3

http://www.python.org/download/

Install virtualenvwrapper

sudo easy_install virtualenv virtualenvwrapper

Make a new virtualenv with the python3 interpreter

  • example: mkvirtualenv -p /usr/local/bin/python3 [name of virtualenv] mkvirtualenv -p /usr/local/bin/python3 nycpython
  • If you installed virtualenv and virtualenvwrapper a while ago and have an error with this step, upgrade: sudo pip install --upgrade virtualenv virtualenvwrapper

Activate that virtualenv

workon nycpython

In your activated virtualenv, install requirements.

pip install -r requirements.txt