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>The answer from Farhan.K will work. However, I think a more convenient way would be to rename <code>python35\Scripts\pip.exe</code> to <code>python35\Scripts\pip3.exe</code> assuming python 3 is installed in <code>C:\python35</code>.</p>

<p>After renaming, you can use <code>pip3</code> when installing packages to python v3 and <code>pip</code> when installing packages to python v2. Without the renaming, your computer will use whichever pip is in your path.</p>

python python-2.7 python-3.x pip