Ich hatte die schlechte Idee, Python von 3.5 auf 3.6 zu aktualisieren. Jetzt kann ich keine Pakete neu installieren (scipy, numpy, ..).Update von Python 3.5 auf 3.6: keine Pakete zu installieren
Der Befehl, den ich verwenden pip3 install -U numpy
pip3 --version
kehrt
pip 9.0.1
Ich habe eine lizenzierte Installation von Visual Studio 2015-Community.
ich auf Win7 x64 bin, habe ich als env var VS100COMNTOOLS=%VS140COMNTOOLS%
Die letzten 5 Zeilen des großen Fehler, den ich bekommen sind:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
----------------------------------------
Command "c:\users\admin\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\admin\\AppData\\Local\\Temp\\pip-build-65uc3b3g\\numpy\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(c
ode, __file__, 'exec'))" install --record C:\Users\admin\AppData\Local\Temp\pip-huz2nklc-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\admin\AppData\Local\Temp\pip-build-65uc3b3g\numpy\
vielmehr von der Quelle als kompilieren, können Sie eine bereits kompilierte Version von Christoph Gohlke erhalten: http: //www.lfd. uci.edu/~gohlke/pythonlibs/#numpy Das wird dieses Problem vermeiden – darthbith
Haben Sie "Microsoft Visual C++ 14.0"? Finden Sie es unter http://landinghub.visualstudio.com/visual-cpp-build-tools, wie von der Fehlermeldung angegeben ... – Bakuriu
@Bakuriu wie gesagt Ich habe ein lizenziertes Visual Studio 2015, also habe ich den Visual C++ - Compiler . – alfredopacino