Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

multiple versions of python, how to install python package on a specific version?

Tags:

python

numpy

I have a remote machine with Python 2.6 installed. I then installed python 2.7 using these instructions python install. I then set up an alias so scripts will use 2.7 in future.

How do I install numpy to python 2.7.

like image 641
scalauser Avatar asked Mar 12 '26 21:03

scalauser


1 Answers

python2.7 -m pip install numpy

Should do the trick

like image 159
Pedro Rodrigues Avatar answered Mar 15 '26 13:03

Pedro Rodrigues



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!