문제

설치할 수 있습니다 Numpy ~와 함께 사용 pip install numpy.

비슷한 가능성이 있습니까? Scipy? (행위 pip install scipy 작동하지 않습니다.)


업데이트

패키지 Scipy는 이제 다음과 함께 설치할 수 있습니다. pip!

도움이 되었습니까?

해결책

시도 easy_install 그들의 문제를 나타냅니다 목록 에서 파이썬 패키지 색인, 어떤 파이프 검색.

easy_install scipy
Searching for scipy
Reading http://pypi.python.org/simple/scipy/
Reading http://www.scipy.org
Reading http://sourceforge.net/project/showfiles.php?group_id=27747&package_id=19531
Reading http://new.scipy.org/Wiki/Download

그러나 모든 것이 잃어버린 것은 아닙니다. pip 설치할 수 있습니다 파괴 (SVN), git, 수은제, 그리고 바자 저장소. Scipy는 SVN을 사용합니다.

pip install svn+http://svn.scipy.org/svn/scipy/trunk/#egg=scipy

업데이트 (12-2012) :

pip install git+https://github.com/scipy/scipy.git

Numpy는 종속성이므로 설치해야합니다.

다른 팁

전제 조건 :

sudo apt-get install build-essential gfortran libatlas-base-dev python-pip python-dev
sudo pip install --upgrade pip

실제 패키지 :

sudo pip install numpy
sudo pip install scipy

선택적 패키지 :

sudo pip install matplotlib   OR  sudo apt-get install python-matplotlib
sudo pip install -U scikit-learn
sudo pip install pandas

SRC

Ubuntu 10.04 (Lucid)에서는 성공적으로 pip install scipy (VirtualEnV 내에서) 특히 종속성 중 일부를 설치 한 후 : 특히 다음과 같습니다.

$ sudo apt-get install libamd2.2.0 libblas3gf libc6 libgcc1 libgfortran3 liblapack3gf libumfpack5.4.0 libstdc++6 build-essential gfortran libatlas-sse2-dev python-all-dev

Windows에 Scipy를 설치하려면 다음과 같은 지침을 따르십시오.

1 단계 :이 링크를 누릅니다 http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy scipy .whl 파일을 다운로드하려면 (예 : scipy-0.17.0-cp34-none-win_amd64.whl).

2 단계 : 해당 다운로드 파일이 명령 프롬프트 (CD 폴더 이름)에서있는 디렉토리로 이동하십시오.

3 단계 :이 명령을 실행합니다.

pip install scipy-0.17.0-cp27-none-win_amd64.whl

나는 위의 모든 것을 시도했고 아무것도 나를 위해 일하지 않았다. 이것은 내 모든 문제를 해결했습니다.

pip install -U numpy

pip install -U scipy

주목하십시오 -U 옵션 pip install 패키지를 요청합니다 업그레이드. 그것 없이는 패키지가 이미 설치된 경우 pip 이것에 대해 알려주고 아무것도하지 않고 종료 할 것입니다.

BLAS, LAPACK 및 GCC FORTRAN을 시스템 패키지로 처음 설치하면 아치 리눅스), 나는 다음과 같이 scipy를 설치할 수 있습니다.

pip install scipy

Fedora에서는 다음과 같습니다.

sudo yum install -y python-pip
sudo yum install -y lapack lapack-devel blas blas-devel 
sudo yum install -y blas-static lapack-static
sudo pip install numpy
sudo pip install scipy

당신이 얻는다면 public key 다운로드하는 동안 오류가 추가됩니다 --nogpgcheck 매개 변수로 yum, 예를 들어:yum --nogpgcheck install blas-devel

페도라에서 23 이후에 사용하십시오 dnf 대신에 yum.

Arch Linux 사용자의 경우 :

pip install --user scipy 전제 조건을 설치할 다음 아치 패키지 :

  • gcc-fortran
  • blas
  • lapack

Ubuntu 용 Addon (Ubuntu 10.04 LTS (Lucid Lynx)) :

저장소가 이동했지만 a

pip install -e git+http://github.com/scipy/scipy/#egg=scipy

나에게 실패했습니다 ... 다음 단계로 마침내 (가상 환경의 루트로, 어디에 python3 Python 3.2.2에 대한 링크) : Ubuntu 의존성 설치 (Elaichi 참조), Clone Numpy and Scipy :

git clone git://github.com/scipy/scipy.git scipy

git clone git://github.com/numpy/numpy.git numpy

Numpy를 만듭니다 (내에서 numpy 폴더):

python3 setup.py build --fcompiler=gnu95

Scipy를 설치하십시오 (내에 scipy 폴더):

python3 setup.py install

제 경우에는 다음 패키지를 설치할 때까지 작동하지 않았습니다. Libatlas-Base-Dev, Gfortran

 sudo apt-get install libatlas-base-dev gfortran

그런 다음 PIP 설치 ScIPY를 실행하십시오

  1. Python-3.4.4를 설치하십시오
  2. Scipy-0.15.1-Win32-Superpack-Python3.4
  3. 다음과 같은 칭찬 문서를 적용하십시오
py -m pip install --upgrade pip
py -m pip install numpy
py -m pip install matplotlib
py -m pip install scipy
py -m pip install scikit-learn

대답은 그렇습니다.

먼저 Numpy 사용 명령을 쉽게 설치할 수 있습니다.

pip install numpy

그런 다음 Scipy가 요구하는 MKL을 설치해야하며 다운로드 할 수 있습니다. 여기

파일을 다운로드 한 후 설치할 수 있습니다

C:\Users\****\Desktop\a> pip install mkl_service-1.1.2-cp35-cp35m-win32.whl
Processing c:\users\****\desktop\a\mkl_service-1.1.2-cp35-cp35m-win32.whl 
Installing collected packages: mkl-service    
Successfully installed mkl-service-1.1.2

그런 다음 같은 웹 사이트에서 Scipy-0.18.1-CP35-CP35M-WIN32.WHL을 다운로드 할 수 있습니다

참고 : Python 버전에 따라 File_name.whl을 다운로드해야합니다. Python 버전이 32bit Python3.5 인 경우이 제품을 다운로드해야하며 "Win32"는 운영 체제 버전이 아닌 Python 버전에 관한 것입니다.

그런 다음 다음과 같은 File_name.whl을 설치하십시오.

C:\Users\****\Desktop\a>pip install scipy-0.18.1-cp35-cp35m-win32.whl
Processing c:\users\****\desktop\a\scipy-0.18.1-cp35-cp35m-win32.whl
Installing collected packages: scipy
Successfully installed scipy-0.18.1

그런 다음해야 할 일이 하나뿐입니다. 사양 행을 주석으로 표시하거나 "import Scipy"를 부과 할 때 오류 메시지가 나타납니다.

이 라인을 언급하십시오

from numpy._distributor_init import NUMPY_MKL  # requires numpy+mkl

이 파일에서 : Your_own_path lib site-packages scipy__init __. py

그런 다음 scipy를 사용할 수 있습니다 :)

여기 마지막 단계에 대해 더 많이 알려줍니다.

여기 비슷한 질문과 비슷한 말입니다.

이 모든 답변 외에도 64 비트 머신에 32 비트의 Python을 설치하면 컴퓨터에 관계없이 32 비트의 Scipy를 다운로드해야합니다.http://www.lfd.uci.edu/~gohlke/pythonlibs/위의 URL에서는 패키지를 다운로드 할 수 있으며 명령은 다음과 같습니다. PIP 설치

Gentoo의 경우 주요 저장소에 있습니다.emerge --ask scipy

파이썬 3.6으로 Windows에서 이것을 사용할 수도 있습니다. python -m pip install scipy

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top