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
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 我有静态或动态 boost 库吗? 2021-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 这个宏可以转换成函数吗? 2022-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01