title: pip is installing packages globally instead in virtual environment in windows
body: <p>I had created a project in pycharm using virtualenv environment. </p>
  
  <p>My current location is 
  <code>(venv) C:\Users\username\Documents\pycode\MyProj1&gt;</code></p>
  
  <p>Now I am running pip install flask and it is downloading packages in the global environment,i.e., <code>C:\Users\username\AppData\Local\Programs\Python\Python36-32\Lib\site-packages</code> instead of my virtual environment.</p>
  
  <p>I can install packages in the virtual environment only when I go to project interpreter in settings and then adding flask.</p>
  
  <p>Can anyone tell how can I install packages in virtual environment by using pip?</p>