Using pip on Windows installed with both python 2.7 and 3.5
<p>I am using Windows 10. Currently, I have python 2.7 installed. I would like to install python 3.5 as well. However, if I have both 2.7 and 3.5 installed, when I run <code>pip</code>, how do I get the direct the package to be installed to the desired python version?</p>

<p>You will have to use the absolute path of <code>pip</code>.</p>

<p>E.g: if I installed python 3 to <code>C:\python35</code>, I would use:
<code>C:\&gt; python35\Scripts\pip.exe install packagename</code></p>

<p>Or if you're on linux, use <code>pip3 install packagename</code></p>

<p>If you don't specify a full path, it will use whichever <code>pip</code> is in your <code>path</code>.</p>

python python-2.7 python-3.x pip