2009-03-01 34 views
3

Ich bin ein Linux-N00b, und ich möchte SciPy installieren, um mir bei den Hausaufgaben helfen zu können.SciPy unter Linux installieren Debian

Diese page hat mich mehr verwirrt als mir geholfen.

Ich habe mich auf der INSTALL.txt Datei Führung ich von Source bekam, die

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's 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's setup.py scripts can use whatever LAPACK library setup one has. 

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

Via Synaptic Package Manager sagt, dass ich all diese + IPython heruntergeladen.

Da ich denke, ich werde zwischen euch beiden stecken bleiben und meine ersten Fragen beantworten und endlich das Ding in Gang bringen, werde ich diesen einzelnen Beitrag mehrmals aktualisieren.

1. Frage: Ich führe mich durch this link Ich lud die Sourceforge. TAR-Datei mit scipy.

I extrahiert den Inhalt auf/home/Antonio/Desktop/Downloads

ich die Befehle ausführen, das auf den Link erscheint:

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 

^WARUM ??

Warum erscheint der Befehl nicht gefunden? Soll ich den Inhalt der .tar-Datei woanders extrahieren?

Antwort

4

ich scipy auf meinem Debian/Lenny System vor kurzem installiert. Alles, was ich tat, war installieren (mit aptitude) die Debian-Pakete

Feuer ipython -pylab in einem Terminal und es funktioniert super.

+0

danke, ich suchte nur nach "scipy" auf synaptic. – andandandand

2

Der Link sagt Ihnen

python setup.py build 

auszuführen, aber Sie sind

setup.py build 

Ausführung Da Sie ein n00b sind, müssen Sie Anweisungen genau folgen.

+0

Hätte funktioniert, wenn er './Setup.py' auch verwendet hätte. – LiraNuna

3

Warum installieren Sie SciPy nicht direkt? Es ist nicht die neueste Version, aber vielleicht ist 0,6 genug für Sie braucht?

# apt-get install python-scipy 

als root oder

$ sudo apt-get install python-scipy 
Verwandte Themen