Numpy Installation
1. Download numpy at http://www.scipy.org/scipylib/download.html.
2. system updates.
[[Email protected] ~] $ Su
Password:
[[Email protected] # Yum Install update
3. Install related tools.
[[Email protected] # Yum install wget
[[Email protected] # Yum install unzip
[[Email protected] # Yum install gcc
[[Email protected] # Yum install Python-devel
4. Download The numpy source code and decompress it.
[[Email protected] # wget http://jaist.dl.sourceforge.net/project/numpy/NumPy/1.9.0/numpy-1.9.0.zip
5. Install numpy.
[[Email protected] # unzip numpy-1.9.0.zip
[[Email protected] # cd numpy-1.9.0
[[Email protected] # Python setup. py install
6. After installation, restart.
[[Email protected] # reboot
7. test whether the installation is successful. If the numpy library can be imported, the installation is successful.
[[Email protected] ~] $ Python
Python2.7.5 (default, JUN 17 2014, 18:11:42)
[Gcc4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2
Type "help", "Copyright", "Credits" or "License" for more information.
>>> Import numpy as NP
>>>
Path to mathematics-distributed computing-numpy installation in centos