質問

私はLinux n00bで、宿題を手伝うために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をすべてダウンロードしました。

最初の質問に答えて、最後にこのことを実行するために、皆さんの間に立ち往生すると思いますので、この単一の投稿を何度も更新します。

最初の質問: このリンクを見て、sourceforge .tarをダウンロードしました。 scipyのファイル。

/ 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ファイルの内容を別の場所に抽出する必要がありますか?

役に立ちましたか?

解決

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

ターミナルで ipython -pylab を起動すると、すべて正常に動作します。

他のヒント

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

# apt-get install python-scipy

ルートとして、または

$ sudo apt-get install python-scipy

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

python setup.py build

しかし、あなたは実行中です

setup.py build

n00bであるため、正確に指示に従う必要があります。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top