title: How to upgrade a django package only in a python virtual environment?
body: <p>I needed a virtual environment with all the global packages included. I created one, and the global Django version is 1.3.1. Now, I need to upgrade the Django version to 1.4 only in my virtual environment. I switched to my environment by activating it, and tried </p>
  
  <blockquote>
    <p>sudo pip install Django=1.4</p>
  </blockquote>
  
  <p>It was installed,not in the virtual env but in the global dist-packages.</p>
  
  <p>How to install a package only in the virtual environment? </p>