2009-03-01 169 views
3

我是Linux n00b,我想安装SciPy来帮助我完成作业调整。在Linux上安装SciPy Debian

这个page让我困惑不止,帮助了我。

我一直在指导自己的INSTALL.TXT文件我从SourceForge了,它说

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/ 

通过新立得软件包管理器我下载了这一切+ IPython的。

正如我想我会卡在你们之间回答我的第一个问题,并最终让这个东西起来和运行,我会更新这个单独的帖子不同的时间。

第一个问题: 引导自己通过this link我用scipy下载了sourceforge .tar文件。

我提取其内容上的/ home /安东尼奥/桌面/下载

我跑出现的链路上的命令:

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

我最近安装我的Debian /莱尼系统SciPy的。 我所做的只是安装(使用aptitude)Debian软件包

火起来ipython -pylab,这一切的伟大工程。

+0

谢谢,我只是在寻找突触上的“scipy”。 – andandandand 2009-03-01 22:13:03

2

的链接告诉你执行

python setup.py build 

,但你正在执行

setup.py build 

既然你是一个的n00b,你必须按照指示正是

+0

如果他也使用`./setup.py`,它会工作。 – LiraNuna 2009-10-02 20:32:00

3

为什么不直接安装SciPy?这不是最新的版本,但是0.6可以满足你的需求?

# apt-get install python-scipy 

为根,或

$ sudo apt-get install python-scipy