3

I installed Django by downloading the tarball, then

$ tar xzvf Django-1.3.1.tar.gz
$ cd Django-1.3.1
$ sudo python setup.py install

How do I uninstall Django? I can start by deleting the folder

/Library/Frameworks/Python.frameworks/Versions/Current/lib/python2.7/site-packages/django

Which other files, folders, and symlinks should I delete?

Kit
  • 30,365
  • 39
  • 105
  • 149

1 Answers1

4

If you installed Django using setup.py install, uninstalling is as simple as deleting the django directory from your Python site-packages. That is the best and only way to do it.

Reference Docs: https://docs.djangoproject.com/en/dev/topics/install/?from=olddocs

Usman Chaudhry
  • 430
  • 4
  • 11
  • 2
    To find the directory you need to remove, you can run the following at your shell prompt (not the interactive Python prompt): `python -c "import sys; sys.path = sys.path[1:]; import django; print(django.__path__)"` – James Chevalier Oct 10 '12 at 17:33