Use pip to Install to a different interpreter
<p>I downloaded Python2.7 a while ago to my C:\ directory. After that I downloaded pip to install packages. After that I installed the Anaconda interpreter to a different directory within my user. I prefer to use the Anaconda interpreter but every time I install a package with pip it is put in C:\Python27\Lib\site-packages. Is there any way I can change the install command with pip or some pip config file so that it installs packages to C:\path_to_anaconda_interpreter_in_user\Lib\site-packages?</p>

<p>What you could do is create a symbolic link.</p>

<p>Or in your case, on windows, a shortcut.</p>

<p>So in your case : <code>C:\path_to_anaconda_interpreter_in_user\Lib\site-packages</code> would be a shortcut leading to <code>C:\Python27\Lib\site-packages</code></p>

<p>(right click python27/lib/site-packages, click 'create shortcut' and move it into your anaconda lib directory)</p>

<p><strong>Edit :</strong></p>

<p>See Eryksun's comment below</p>

python windows pip