2016-04-19 15 views
0

Ich versuche scipy mit verschiedenen Möglichkeiten zu installieren, aber alle nicht mit mirSciPy Installation auf Windows für Python 3.5

Ich habe Windows x64 und Python 3.5

I scipy-0.17.0-CP35 zum Download versuchte -none-win_amd64, scipy-0.17.0-CP35-none-win32, numpy-1.11.0 + MKL-CP35-cp35m-win32, numpy_1.11.0_mkl_cp35_cp35m_win_amd64

keiner von ihnen ist die Installation erfolgreich und ich möchte beheben es. Wie auch immer, anstatt Anaconda zu benutzen?

Wenn ich versuche, scipy pip installieren, hier ist der Fehler Ich erhalte:

Collecting scipy 
    Using cached scipy-0.17.0.tar.gz 
Installing collected packages: scipy 
    Running setup.py install for scipy ... error 
    Complete output from command c:\python35\python.exe -u -c "import setuptools 
, tokenize;__file__='C:\\Users\\****\\AppData\\Local\\Temp\\pip-build-2kjh7_yz 
\\scipy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read() 
.replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\*****\App 
Data\Local\Temp\pip-tsi_rnlj-record\install-record.txt --single-version-external 
ly-managed --compile: 
    lapack_opt_info: 
    openblas_lapack_info: 
     libraries openblas not found in ['c:\\python35\\lib', 'C:\\', 'c:\\python3 
5\\libs'] 
     NOT AVAILABLE 

    lapack_mkl_info: 
    mkl_info: 
     libraries mkl,vml,guide not found in ['c:\\python35\\lib', 'C:\\', 'c:\\py 
thon35\\libs'] 
     NOT AVAILABLE 

     NOT AVAILABLE 

    atlas_3_10_threads_info: 
    Setting PTATLAS=ATLAS 
    c:\python35\lib\site-packages\numpy\distutils\system_info.py:633: UserWarnin 
g: Specified path C:\projects\windows-wheel-builder\atlas-builds\atlas-3.11.38-s 
se2-64\lib is invalid. 
     warnings.warn('Specified path %s is invalid.' % d) 
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> 
     NOT AVAILABLE 

    atlas_3_10_info: 
    <class 'numpy.distutils.system_info.atlas_3_10_info'> 
     NOT AVAILABLE 

    atlas_threads_info: 
    Setting PTATLAS=ATLAS 
    <class 'numpy.distutils.system_info.atlas_threads_info'> 
     NOT AVAILABLE 

    atlas_info: 
    <class 'numpy.distutils.system_info.atlas_info'> 
     NOT AVAILABLE 

    c:\python35\lib\site-packages\numpy\distutils\system_info.py:1542: UserWarni 
ng: 
     Atlas (http://math-atlas.sourceforge.net/) libraries not found. 
     Directories to search for the libraries can be specified in the 
     numpy/distutils/site.cfg file (section [atlas]) or by setting 
     the ATLAS environment variable. 
     warnings.warn(AtlasNotFoundError.__doc__) 
    lapack_info: 
     libraries lapack not found in ['c:\\python35\\lib', 'C:\\', 'c:\\python35\ 
\libs'] 
     NOT AVAILABLE 

    c:\python35\lib\site-packages\numpy\distutils\system_info.py:1553: UserWarni 
ng: 
     Lapack (http://www.netlib.org/lapack/) libraries not found. 
     Directories to search for the libraries can be specified in the 
     numpy/distutils/site.cfg file (section [lapack]) or by setting 
     the LAPACK environment variable. 
     warnings.warn(LapackNotFoundError.__doc__) 
    lapack_src_info: 
     NOT AVAILABLE 

    c:\python35\lib\site-packages\numpy\distutils\system_info.py:1556: UserWarni 
ng: 
     Lapack (http://www.netlib.org/lapack/) sources not found. 
     Directories to search for the sources can be specified in the 
     numpy/distutils/site.cfg file (section [lapack_src]) or by setting 
     the LAPACK_SRC environment variable. 
     warnings.warn(LapackSrcNotFoundError.__doc__) 
     NOT AVAILABLE 

    Running from scipy source directory. 
    Traceback (most recent call last): 
     File "<string>", line 1, in <module> 
     File "C:\Users\*****\AppData\Local\Temp\pip-build-2kjh7_yz\scipy\setup.py 
", line 265, in <module> 
     setup_package() 
     File "C:\Users\*****\AppData\Local\Temp\pip-build-2kjh7_yz\scipy\setup.py 
", line 262, in setup_package 
     setup(**metadata) 
     File "c:\python35\lib\site-packages\numpy\distutils\core.py", line 135, in 
setup 
     config = configuration() 
     File "C:\Users\*****\AppData\Local\Temp\pip-build-2kjh7_yz\scipy\setup.py 
", line 182, in configuration 
     config.add_subpackage('scipy') 
     File "c:\python35\lib\site-packages\numpy\distutils\misc_util.py", line 10 
03, in add_subpackage 
     caller_level = 2) 
     File "c:\python35\lib\site-packages\numpy\distutils\misc_util.py", line 97 
2, in get_subpackage 
     caller_level = caller_level + 1) 
     File "c:\python35\lib\site-packages\numpy\distutils\misc_util.py", line 90 
9, in _get_configuration_from_setup_py 
     config = setup_module.configuration(*args) 
     File "scipy\setup.py", line 15, in configuration 
     config.add_subpackage('linalg') 
     File "c:\python35\lib\site-packages\numpy\distutils\misc_util.py", line 10 
03, in add_subpackage 
     caller_level = 2) 
     File "c:\python35\lib\site-packages\numpy\distutils\misc_util.py", line 97 
2, in get_subpackage 
     caller_level = caller_level + 1) 
     File "c:\python35\lib\site-packages\numpy\distutils\misc_util.py", line 90 
9, in _get_configuration_from_setup_py 
     config = setup_module.configuration(*args) 
     File "scipy\linalg\setup.py", line 20, in configuration 
     raise NotFoundError('no lapack/blas resources found') 
    numpy.distutils.system_info.NotFoundError: no lapack/blas resources found 

    ---------------------------------------- 
Command "c:\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\ 
\Users\\*****\\AppData\\Local\\Temp\\pip-build-2kjh7_yz\\scipy\\setup.py';exec(
compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), 
__file__, 'exec'))" install --record C:\Users\*****\AppData\Local\Temp\pip-tsi_ 
rnlj-record\install-record.txt --single-version-externally-managed --compile" fa 
iled with error code 1 in C:\Users\*****\AppData\Local\Temp\pip-build-2kjh7_yz\ 
scipy\ 
+0

Tun Sie sich selbst einen Gefallen und installieren anaconda – MaxNoe

+0

oder die Vorschläge verwenden hier: http://stackoverflow.com/a/26670308/2776376 –

+1

@Ashafix ich diesen Link versucht, aber immer noch nicht – Kasparov92

Antwort

0

1.you sollte numpy deinstallieren, Befehl verwenden 'uinstall numpy pip'. 2.installiere numpy mit dem Befehl 'pip uninstall + den Verzeichnispfad + numpy_1.11.0_mkl_cp35_cp35m_win_amd64. 3.download VC++ 2015 Redistributable von Microsoft Web.install es. 4.install scipy wie 2 Schritt

Sorry mein Englisch ist schrecklich, ich kann Ihnen einfach so helfen.

Verwandte Themen