SciPy (pronounced “Sigh Pie”) is a Python-based
ecosystem of open-source software for mathematics, science, and engineering. Follow these steps to install Scipy package on Python.
OS updates
==========
sudo apt-get dist-upgrade
sudo apt-get update
sudo apt-get upgrade
Python esential updates
=======================
sudo apt-get install libblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install python-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install gfortran
sudo apt-get install python-setuptools
sudo apt-get install python3-setuptools
Scipy
======
sudo apt-get install python-scipy #for python 2
sudo apt-get install python-scipy --fix-missing
sudo pip3 install scipy #for python 3
sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev python3-dev
Optional python packages
===================================
In case of errors please install these optional Python packages, it will fix.
sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev python3-dev
sudo apt-get install python-setuptools
In most cases it seems only build-essential and python-dev are only required.
sudo apt-get install build-essential
sudo apt-get install python-dev
No comments:
Post a Comment