Installation 在Linux Debian上安装SciPy

Installation 在Linux Debian上安装SciPy,installation,debian,scipy,Installation,Debian,Scipy,我是LinuxN00B,我想安装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

我是LinuxN00B,我想安装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软件包管理器,我下载了所有这些+IPython

因为我想我会被困在你们回答我的第一个问题和最终让这个东西启动和运行之间,我会多次更新这篇文章

第一个问题: 在指导下,我用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文件的内容吗?

该链接告诉您执行

python setup.py build
但你正在执行

setup.py build

既然您是n00b,就必须严格按照说明操作。

为什么不直接安装SciPy呢?这不是最新的版本,但也许0.6就足够满足您的需要了

# apt-get install python-scipy
作为根,或

$ sudo apt-get install python-scipy

我最近在我的Debian/Lenny系统上安装了scipy。 我所做的就是安装(使用aptitude)Debian软件包

在终端启动ipython-pylab,一切都很好