Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing numpy&scipy on centos 6.4

I am working in a virtual environment and I am having trouble installing numpy and scipy. It is my understanding that I have to full install numpy before going to scipy, but I am having trouble installing numpy.

I usedpip install numpy and that installed numpy into my python2.7/site-packages/numpy directory, however, I am trying to run python setup.py install --user as stated here numpy build and I keep getting the error "this is the wrong file to run". I do not know where to go from here....and I still need to install scipy

like image 220
user2988884 Avatar asked Nov 30 '22 12:11

user2988884


1 Answers

numpy and scipy come pre-compiled with CentOS, just type:

sudo yum install numpy scipy

it is always harder to install from source code.

like image 191
vossman77 Avatar answered Dec 08 '22 14:12

vossman77