2009-03-01 5 views
3

저는 리눅스 n00b입니다. 숙제에 도움이되는 SciPy를 설치하고 싶습니다.Debian 리눅스에 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/ 

통해 시냅틱 패키지 관리자 나는이 모든 + IPython을 다운로드 말한다 나는 소스 포지에서받은 INSTALL.TXT 파일에 자신을 안내하고있다.

제 첫 질문에 대답하고 마침내이 일을 시작하고 실행하는 사이에 끼어들 것 같아서이 단일 게시물을 여러 번 업데이트 할 것입니다.

첫 번째 질문은 입니다. this link을 통해 직접 안내합니다. scipy로 sourceforge .tar 파일을 다운로드했습니다.

은 내가 링크에 표시되는 명령을 실행/홈/안토니오/데스크탑/다운로드

에 그 내용을 추출 :

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

나는 최근에 내 데비안/레니 시스템에 scipy를 설치했습니다. 내가 한 모든 데비안 패키지 ipython

화재 최대 ipython -pylab 터미널에서 python-matplotlib

  • python-scipy
    • (적성을 사용)를 설치했고 모두 잘 작동합니다.

  • +0

    감사합니다. 나는 시냅스에서 "scipy"만을 찾고있었습니다. – andandandand

    2

    링크 당신이 n00b 때문에 당신이

    python setup.py build 
    

    을 실행하지만

    setup.py build 
    

    를 실행중인 알려줍니다, 당신은 지시 사항을 정확히을 따라야합니다.

    +0

    그가'./setup.py'을 사용했다면 효과가 있었을 것입니다. – LiraNuna

    3

    SciPy를 직접 설치하지 않는 이유는 무엇입니까? 최신 버전이 아니지만 0.6으로 충분할 수도 있습니다.

    # apt-get install python-scipy 
    
    루트로

    , 또는

    $ sudo apt-get install python-scipy