Ran the following so virtualenvwrapper worked again:
$ sudo curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python
$ sudo pip install virtualenvwrapper
After I tried using django-admin.py runserver
in a virtualenv I got the following error.
IOError: [Errno 2] No such file or directory: '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/__init__.py'
Running the following fixed that error:
$ cd /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/
$ sudo touch __init__.py
In order to get my dev version for django-environment
to work I had to do the following:
$ cd /Library/Python/2.7/site-packages/virtualenvwrapper
$ sudo ln -s ~/Code/django/django-environment/virtualenvwrapper/django_env.py
The solution is to not use system Python for development.