title: Import Error: No module named django
body: <p>I am using centos linux.</p>
  
  <p>I had python 2.6 with django and now i upgraded to python 2.7.<br>
  Python 2.6 is located in  /usr/lib/python2.6.<br>
  Python 2.7 is located in /usr/local/lib/python2.7.<br>
  They both have site-packages directory and they both contain django 1.2.</p>
  
  <p>If i run python i get the 2.7 version.<br>
  My problem is that if try to import django i get </p>
  
  <blockquote>
    <p>ImportError: No module named django</p>
  </blockquote>
  
  <p>I am not sure where is my PYTHONPATH defined and if this is what i need to change.
  anyone ? </p>
  
  <p>i ended up making a symbolic link to the 2.6 site-packages directory.</p>