Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to find this path on FreeBSD but it is not working: /usr/local/lib/python2.7/dist-packages

This same path is working on Ubuntu.

Can please some tell me where I can find Python dist-packages? Actually, I am trying to find the Django folder.

share|improve this question
up vote 2 down vote accepted

Start your python and then type

import sys
print sys.path

You are likely to have something ending in site-packages or dist-packages in there.

Django probably has its own, additional, folder structure (I know that web2py does), so you might have more luck using a web page with that code and analysing the output from that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.