Pointing pip to the correct Python interpreter on Windows

540 Views Asked by At

I have two Python interpreters on my Windows 7 computer: 2.7.6 x64 and 2.7.9 x32. Whenever I use pip it installs packages to the 2.7.6 x64 Python interpreter. How can I ask pip to install packages to the other Python interpreter (2.7.9 x32), while still being able to use pip with 2.7.6 x64?

To put it otherwise, I'd like to temporarily point pip to another Python interpreter.

E.g. when installing Python packages shipping as .exe, they give the choice of in which Python interpreter to install them :

enter image description here

0

There are 0 best solutions below