Install SciPy on Linux Debian

I am Linux n00b and I want to install SciPy to help me in my homework.

This page confused me more than it helped me.

I am heading to the INSTALL.txt file that I received from sourceforge which says

PREREQUISITES
=============

SciPy requires the following software installed:

1) Python__ 2.4.x or newer

   Debian packages: python python-dev

   Make sure that the Python package distutils is installed before
   continuing. For example, in Debian GNU/Linux, distutils is included
   in the python-dev package.

   Python must also be compiled with the zlib module enabled.

__ http://www.python.org

2) NumPy__ 1.2.0 or newer

   Debian package: python-numpy

__ http://www.numpy.org/

3) Complete LAPACK__ library (see NOTES 1, 2, 3)

   Debian/Ubuntu packages (g77): atlas3-base atlas3-base-dev

   Various SciPy packages do linear algebra computations using the LAPACK
   routines. SciPy setup.py scripts can use number of different LAPACK
   library setups, including optimized LAPACK libraries such as ATLAS__ or
   the Accelerate/vecLib framework on OS X. The notes below give
   more information on how to prepare the build environment so that
   SciPy setup.py scripts can use whatever LAPACK library setup one has.

__ http://www.netlib.org/lapack/
__ http://math-atlas.sourceforge.net/

Through Synaptic Package Manager, I downloaded all this + IPython.

I guess I am stuck between you guys, answering my first questions and finally running this thing, I will update this separate post at different times.

1st question: Guiding ourselves through this link I downloaded the source .tar file from scipy.

I extracted its contents in / home / antonio / Desktop / Downloads

I ran the commands that appear in the link:

jajaja:/home/antonio/Desktop/Downloads# cd scipy-?.?.?
jajaja:/home/antonio/Desktop/Downloads/scipy-0.7.0# setup.py build
bash: setup.py: command not found

^ WHY?

Why is the command not found? Should I extract the contents of the .tar file somewhere else?

+3
3

scipy Debian/Lenny. , , ( aptitude) Debian

ipython -pylab , .

+4

SciPy ? , , , 0,6 ?

# apt-get install python-scipy

root,

$ sudo apt-get install python-scipy
+3

The link tells you to execute

python setup.py build

but you are fulfilling

setup.py build

Since you are n00b, you must follow the instructions exactly.

+2
source

Source: https://habr.com/ru/post/1704040/


All Articles