Linux scipy Installation __linux

Source: Internet
Author: User
Tags lapack
In some cases, Linux lacks some of the scipy base packages, such as Lapack/blas. It's a hassle to find a tutorial on the web, and after a while toss it, locate the simple command line.


Just a few commands to complete:


sudo apt-get install Libblas-dev
sudo apt-get install Liblapack-dev
sudo apt-get install Gfortran
sudo apt-get install python-scipy
Easy to handle.




On Fedora:
Yum install lapack lapack-devel Blas Blas-devel
Pip Install NumPy
Pip Install scipy


Remember to install ' lapack-devel ' and ' blas-devel ', addition to ' Blas ' and ' lapack ' otherwise your ' ll get the error Mentioned or the "Numpy.distutils.system_info. Lapacknotfounderror "error.


I do not know why to 6.1.1, Redhat.

sudo easy_install pip==6.1.1

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.