@pyHoax
Danke für deine Antworten und Links, ich hatte bei meiner Suche ähnliche Seiten und Infos bekommen, nur habe ich diese direkt als falsch abgestempelt, weil ich dachte das Visual C++ nix damit zu tun hätte... hab mich wohl geirrt.
Ich verwende im Moment Python 3.4.0.
Ich habe glaube ich etwas übersehen.
Ich habe das MinWG installiert, weil ich das so verstanden habe, dass es für jede Python Version die Packete compilieren kann und eine gute Alternative für den Visual C++ Compiler ist.
Dann habe ich eine Datei in: PYTHONPATH\Lib\distutils.cfg mit folgenden Inhalt angelegt:
Und dann habe ich versucht über diesen Aufruf: pip install --global-option build_ext --global-option --compiler=msvc pyspectator
pyspectator zu installieren.
Code: Alles auswählen
Installing collected packages: psutil, netifaces, enum34, wmi
Running setup.py install for psutil
building 'psutil._psutil_windows' extension
error: Unable to find vcvarsall.bat
Complete output from command "C:\Users\Modding\Programme\python 3.4\python.exe" -c "import setuptools, tokenize;__file__='C:\\Users\\MOD~1.DING\\AppData\\Local\\Temp\\pip_build_Modding\\psutil\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" build_ext --compiler=msvc install --record C:\Users\MOD~1.DING\AppData\Local\Temp\pip-jk04fkgg-record\install-record.txt --single-version-externally-managed --compile:
running build_ext
building 'psutil._psutil_windows' extension
error: Unable to find vcvarsall.bat
----------------------------------------
Cleaning up...
Command "C:\Users\Modding\Programme\python 3.4\python.exe" -c "import setuptools, tokenize;__file__='C:\\Users\\MOD~1.DING\\AppData\\Local\\Temp\\pip_build_Modding\\psutil\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" build_ext --compiler=msvc install --record C:\Users\MOD~1.DING\AppData\Local\Temp\pip-jk04fkgg-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in C:\Users\MOD~1.DING\AppData\Local\Temp\pip_build_Modding\psutil
Storing debug log for failure in C:\Users\Modding\pip\pip.log
Raus kam fast der selber Fehler.