Building from source
We can retrieve the source code for NumPy with git
as follows:
git clone git://github.com/numpy/numpy.git numpy
Install /usr/local
with the following command:
python setup.py build sudo python setup.py install --prefix=/usr/local
To build, we need a C compiler such as GCC and the Python header files in the python-dev
or python-devel
package.