[Fixed]-Unable to work with Django (python 2.7, OS X 10.11.1)

1👍

Try installing it in a virtualenv.

virtualenv -p /usr/bin/python2.7 venv # create virtual environment
source venv/bin/activate  # activate venv
pip install --upgrade Django==1.9.8  # install django in your venv
django-admin  # should run django-admin from your venv

Running in a venv is always cleaner IMO, it allows you to have different projects using their own venv without conflicting and you can get rid of your venv when you are done with it by simply deleting the folder.

👤mmoris

Leave a comment