Path to mathematics-distributed computing-numpy installation in centos,-numpycentos

Source: Internet
Author: User

Path to mathematics-distributed computing-numpy installation in centos,-numpycentos

Numpy Installation

1. Download numpy at http://www.scipy.org/scipylib/download.html.

2. system updates.

[Myhaspl @ localhost ~] $ Su

Password:

[Root @ localhostmyhaspl] # yum install update

3. Install related tools.

[Root @ localhostmyhaspl] # yum install wget

[Root @ localhostmyhaspl] # yum install unzip

[Root @ localhostmyhaspl] # yum install gcc

[Root@localhostnumpy-1.9.0] # yum install python-devel

4. Download The numpy source code and decompress it.

[Root @ localhostmyhaspl] # wget http://jaist.dl.sourceforge.net/project/numpy/NumPy/1.9.0/numpy-1.9.0.zip

5. Install numpy.

[Root @ localhostmyhaspl] # unzip numpy-1.9.0.zip

[Root @ localhostmyhaspl] # numpy-1.9.0 cd

[Root@localhostnumpy-1.9.0] # python setup. py install

6. After installation, restart.

[Root@localhostnumpy-1.9.0] # reboot

7. test whether the installation is successful. If the numpy library can be imported, the installation is successful.

[Myhaspl @ localhost ~] $ 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

>>>


For calypso_31 (a software for structure prediction) Installation Problems in the linux (Centos release) System

Lapack_lite.so: undefined symbol:

This indicates that the package you downloaded is not suitable. Download a system-compatible package again!
 

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.