문제

저는 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/

시냅스 패키지 관리자를 통해이 모든 + 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 파일의 내용을 추출해야합니까?

도움이 되었습니까?

해결책

최근에 Debian/Lenny 시스템에 Scipy를 설치했습니다. 내가 한 것은 Debian 패키지를 설치하는 것뿐이었습니다.

발사 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