Installing Django

less than 1 minute read

This is just a page for me to remember what I did while installing Django so that when something breaks in six months, I have a point of reference.

Followed this page: Setup Django on Lion to some degree. Worked through the tutorial on djangoproject as well.

Made changes to where site packages are created, namely ~/.local/lib/python2.7 instead of the default.

When installing virtualenv and virtualenvwrapper, I received the following error related to a virtualenvwrapper dependency on stevedore: “raise TypeError, “dist must be a Distribution instance”
TypeError: dist must be a Distribution instance”. I fixed this by installing virtualenv, virtualenvwrapper and stevedore individually instead of with the command in the installation guide linked above.

Virtualenv sites exist in /Users//Sites/env.