2009-03-01 8 views
3

私はLinux n00bです。私は宿題に役立つSciPyをインストールしたいと思っています。Debian LinuxにSciPyをインストールする

このpageは私を助けた以上に私を混乱させました。

私は

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/ 

経由Synapticパッケージマネージャ私はこのすべて+ IPythonをダウンロードしたと言い、私はsourceforgeのからもらったのinstall.txtファイル、に自分自身を導くてきました。

私の最初の質問に答えて、最終的にこの問題を解決してくれる人たちの間に、私はこの1つの記事を何度も更新するつもりです。

1番目の質問 this linkを通して私はsourcehipの.tarファイルをscipyでダウンロードしました。

は私がリンクの上に表示されるコマンドを実行しました/ホーム/アントニオ/デスクトップ/ダウンロード

にその内容を抽出:

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?

なぜコマンドが見つからないのですか?他の場所で.tarファイルの内容を抽出する必要がありますか?あなたがN00Bなので、あなたが指示正確に従わなければなりません

答えて

4

私は最近、私のDebian/Lennyのシステムにscipyのダウンロードをインストールしました。 私がしたすべては、Debianパッケージipython

火災アップipython -pylabターミナルでpython-matplotlib

  • python-scipy
    • (適性を使用)をインストールし、それはすべての素晴らしい作品。

  • +0

    ありがとう、私はシナプス上の "scipy"だけを探していた。 – andandandand

    2

    リンクは

    python setup.py build 
    

    を実行することを示していますが、あなたは

    setup.py build 
    

    を実行しています。

    +0

    彼が '。/ setup.py'を使ってもうまくいきました。 – LiraNuna

    3

    SciPyを直接インストールしてみませんか?最新のバージョンではありませんが、おそらく0.6で十分でしょうか?

    # apt-get install python-scipy 
    
    rootとして

    、または

    $ sudo apt-get install python-scipy 
    
    関連する問題