error: command #39;C:\ Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\HostX86\x64\cl.exe#39; failed with exit status 2(错误:命令“C:\ Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\HostX86\x64\cl.exe失败,退出状态为 2)
问题描述
所以我试图使用我的 git bash pip install python-ldap
但一开始它告诉我我没有 cl.exe
所以我下载了Visual Studio C++ 包现在显示此错误
Hi so I was trying to pip install python-ldap
using my git bash but at first it told me that i don't have cl.exe
so i downloaded the visual studio C++ pack now it's showing this error
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
我从未用 C++ 编码,所以我不确定错误是什么.我也下载了 C++ 的 CLI 工具,我认为这不是因为 cl.exe
自从它找到后不在路径中.任何见解??
I never coded with C++ so I'm not sure what the error is. I downloaded the CLI tools for C++ too and I don't think it's because the cl.exe
isn't in the path since it found it. Any insights ??
推荐答案
似乎没有针对此错误的有效解决方案,但一种解决方法是从 https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-ldap
There doesn't seem to be a valid solution for this error but one workaround is to install the windows binary package from https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-ldap
这篇关于错误:命令“C:\ Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\HostX86\x64\cl.exe"失败,退出状态为 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:错误:命令“C:\ Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\HostX86\x64\cl.exe"失败,退出状态为 2


- 近似搜索的工作原理 2021-01-01
- 静态初始化顺序失败 2022-01-01
- C++ 协变模板 2021-01-01
- STL 中有 dereference_iterator 吗? 2022-01-01
- 与 int by int 相比,为什么执行 float by float 矩阵乘法更快? 2021-01-01
- 使用/clr 时出现 LNK2022 错误 2022-01-01
- 如何对自定义类的向量使用std::find()? 2022-11-07
- 一起使用 MPI 和 OpenCV 时出现分段错误 2022-01-01
- Stroustrup 的 Simple_window.h 2022-01-01
- 从python回调到c++的选项 2022-11-16