3

私は Linux 初心者で、宿題を手伝うために SciPy をインストールしたいと考えています。

このページは私を助けたというよりも、私を混乱させました。

私は sourceforge から入手した INSTALL.txt ファイルを参考にしてきました。

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 Package Manager を介して、このすべてと IPython をダウンロードしました。

皆さんが私の最初の質問に答えてから、最終的にこれを起動して実行するまでの間に行き詰まってしまうと思うので、この単一の投稿を何度も更新します.

1 番目の質問:このリンクから自分自身を導き、scipy を使用して sourceforge .tar ファイルをダウンロードしました。

/home/antonio/Desktop/Downloads でコンテンツを抽出しました

リンクに表示されるコマンドを実行しました。

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

^ なぜ??

コマンドが見つからないと表示されるのはなぜですか? .tar ファイルの内容を別の場所に抽出する必要がありますか?

4

3 に答える 3

4

最近、Debian/Lenny システムに scipy をインストールしました。私がしたことは、(aptitudeを使用して)Debianパッケージをインストールすることだけでした

ターミナルで起動ipython -pylabすると、すべてうまく機能します。

于 2009-03-01T21:52:53.307 に答える
3

SciPy を直接インストールしないのはなぜですか? 最新バージョンではありませんが、0.6 で十分ではないでしょうか?

# apt-get install python-scipy

ルートとして、または

$ sudo apt-get install python-scipy
于 2009-03-01T21:52:21.480 に答える
1

リンクは実行するように指示します

python setup.py build

しかし、あなたは実行しています

setup.py build

あなたは初心者なので、指示には正確に従わなければなりません。

于 2009-03-01T21:11:45.633 に答える