I have 2 versions of Python
installed in my machine. Version numbers are 3.4
and 2.7.2
.
However, when I manage to python --version
i get the following output, which is also the expected output:
Python 2.7.2
However, when I say pip install numpy
. the package numpy gets installed in where I installed python 3.4
:
Requirement already satisfied: numpy in c:\python\lib\site-packages
How can I make numpy
get installed in Python 2.7.2
. The location where Python 2.7.2 is located is C:\Python27