Path to mathematics-distributed computing-numpy installation in centos

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.