问题描述
所以我尝试使用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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!