2017-04-11 7 views
1

In Windows 10 als Administrator in der Eingabeaufforderung möchte ich "scipy" installieren. Aber nach diesem Befehl: pip installiert sctipy Ich habe mit diesen Fehlern konfrontiert:Python 3.5 Scipy-Paket-Installation unter Windows 10

C:\WINDOWS\system32>pip install scipy 
Collecting scipy 
    Using cached scipy-0.19.0.zip 
                       Building wheels for collected packages: scipy 
    Running setup.py bdist_wheel for scipy ... error 
    Complete output from command c:\users\administrator\appdata\local\programs\python\python35-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-build-e1t3tsx1\\scipy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\ADMINI~1\AppData\Local\Temp\tmp_67ezs94pip-wheel- --python-tag cp35: 
    lapack_opt_info: 
    lapack_mkl_info: 
    libraries mkl_rt not found in ['c:\\users\\administrator\\appdata\\local\\programs\\python\\python35-32\\lib', 'C:\\', 'c:\\users\\administrator\\appdata\\local\\programs\\python\\python35-32\\libs'] 
    NOT AVAILABLE 

    openblas_lapack_info: 
    libraries openblas not found in ['c:\\users\\administrator\\appdata\\local\\programs\\python\\python35-32\\lib', 'C:\\', 'c:\\users\\administrator\\appdata\\local\\programs\\python\\python35-32\\libs'] 
    NOT AVAILABLE 

    c:\users\administrator\appdata\local\programs\python\python35-32\lib\site-packages\numpy\distutils\system_info.py:572: UserWarning: 
     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. 
    self.calc_info() 
    NOT AVAILABLE 


    `setup.py clean` is not supported, use one of the following instead: 

    - `git clean -xdf` (cleans all files) 
    - `git clean -Xdf` (cleans all versioned files, doesn't touch 
         files that aren't checked into the git repo) 

    Add `--force` to your command to use it anyway if you must (unsupported). 

Wie kann ich dieses Problem lösen?

Danke.

Antwort

1

ich über ein Rad empfehlen die Installation wenn möglich - es Bedarf für die Kompilierung vermeidet, die auf Windows, ein großer Schmerz sein kann . Möglicherweise müssen Sie weitere Pakete herunterladen, von denen scipy abhängt. Es gibt ein großes Archiv von Rad-Dateien hier mit freundlicher Genehmigung von Christoph Gohlke:

pip install SomePackage-1.0-py2.py3-none-any.whl 

Persönlichem Tipp: http://www.lfd.uci.edu/~gohlke/pythonlibs/

Wenn Sie ein Rad, können Sie problemlos durch die Verwendung pip wie gewohnt, aber Referenzierung des Rad Dateinamen installieren - Halten Sie die Raddateien fest, die Sie benötigen. Ones gehostet auf Pypi sind in der Regel sicher, aber anderswo können sie verschwinden und/oder durch neuere Versionen ersetzt werden. Suchen Sie nach neueren Versionen auf alle Fälle, aber Sie können in einer unangenehmen Position gelassen werden, wenn sie ganz verschwinden.

1

Ich denke, wenn Sie Ihre Python-Setup-Tools neu installieren wird es den Fehler beheben:

pip uninstall setuptools 
pip install setuptools 
Verwandte Themen