I have a project running on CentOS7 that uses Numpy. The problem is that it takes a very huge amount of time to install this dependency.
I therefore tried to yum install numpy libs before pip install it.
So I run:
yum install numpy-1.7.1
pip install numpy==1.7.1 # This pip is executed in a virtualenv
The yum install installs the packaged library, and is quite fast to be performed.
The weird thing is that the pip install command re-compile all the sources. This is strange because, from my understanding, the pip install shall only add the python bindings on the compiled lib previously installed.
Any idea to get this library installed without to have everything recompiled?
yum install numpy) you can'timport numpyin a python shell? To my understanding, the second step,pip installshould be unnecessary. Have you tried starting the python interpreter in importing numpy?yum installinstall the package globally. But I need to install it into a virtual env, that's why I run thepip install