>From an answer on stackoverflow.com ( http://stackoverflow.com/questions/122327/how-do-i-find-the-location-of-my-python-site-packages-directory ):
Enter python shell by executing python binary: from distutils.sysconfig import get_python_lib print(get_python_lib()) It usually resides in a folder named site-packages or dist-packages somewhere in the Python directory. In Windows it is different than in Unix. When all else fails, you can run a find command on Unix, or a do an advanced search in Windows. On Tue, Mar 20, 2012 at 3:30 PM, jdw <poisonoakproducti...@gmail.com> wrote: > Newbie alert... > > I installed Django and finished the first tutorial. On the second one, I > could not log in to the website because I didn't set a superuser. > Ultimately, I figured out my problem, but I realized I have no idea where I > installed Django. Is there an easy way to find out where the code lives? > > I realized I had no idea when the tutorial suggested running this: > > python /path/to/django/contrib/auth/create_superuser.py > > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/9FZCBitFicMJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.