Fehler:Befehl C:\\ Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe ist mit Exit-Status 2 fehlgeschlagen

Fehler:Befehl C:\\ Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe ist mit Exit-Status 2 fehlgeschlagen


Hallo, also habe ich versucht, pip install python-ldap mit meinem git bash, aber zuerst sagte es mir, dass ich cl.exe nicht habe Also habe ich das Visual Studio C++ Pack heruntergeladen, jetzt zeigt es diesen Fehler


 error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

Ich habe nie mit C++ codiert, daher bin ich mir nicht sicher, was der Fehler ist. Ich habe auch die CLI-Tools für C++ heruntergeladen und ich glaube nicht, dass es an cl.exe liegt ist nicht im Pfad, da es ihn gefunden hat. Irgendwelche Erkenntnisse ??


Antworten:


Es scheint keine gültige Lösung für diesen Fehler zu geben, aber eine Problemumgehung besteht darin, das Windows-Binärpaket von https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-ldap

zu installieren

Einige Code-Antworten


 error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2 
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30037\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2 
pip install sparse_dot_topn 
python -m pip install -U pip setuptools 
  error: command ...\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe failed with exit code 2   ----------------------------------------   ERROR: Failed building wheel for pandas Failed to build pandas ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects