NumPy, scipy and other Python packages installed under CentOS 7

Source: Internet
Author: User

This article applies to the newly-introduced small white, welcome Daniel to criticize correct.

Because you want to start data analysis, Python is not as concise as r and Matlab. There are many packages that need to be installed ~

Online find a lot of cattle people blog, want to CENTOS7 under the installation of numpy,scipy and so on, a start on the crazy forced, online guide post a lot, tried a lot of methods,

Around a lot of detours, summed up the experience ~

—————————————————————— Ornate Split Line ——————————————————————————

The simplest method:

Command line execution:

sudo yum-y install gcc gcc-c++ numpy python-devel scipy

The above Code Pro-test is available, however due to the previous centos7 under the python3.5, so in the installation of pandas when the unknown error,

So, an extraordinary journey of pits was opened

First, the CENTOS7 operating system comes with python2.7.5, and the previous tutorial is Python3, so it is natural to change to Python3.

Reference: http://blog.csdn.net/a450828540/article/details/46491849

However, after the Python3 soft connection is generated, the installation of the NUMPY,SCIPY package is not available, so the online search solution.

Did not find a good way, then I found the anaconda, opened the door of a new World ~

Anaconda comes with a variety of Python packages that address the intricacies of installing Python packages. It's a friend of Python.

First Officer network Download the latest Anaconda:

Https://www.continuum.io/downloads#_unix

After the download is complete to the specified folder

Bash anaconda2-4.0.0-linux-x86_64.sh

And then you're done.

NumPy, scipy and other Python packages installed under CentOS 7

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.