【发布时间】:2018-09-19 10:14:19
【问题描述】:
我想将 Flask-LDAP 安装到我的计算机 (Windows 7),它有一个名为 python-ldap 的先决条件。
我尝试按照这个安装:
https://pypi.org/project/python-ldap/3.1.0/
pip 安装错误消息:
C:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt\corecrt.h(10) : fatal error C1083: Cannot open include file: 'vcruntime.h': No such file or directory
error: command 'C:\\Users\\...\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\bin\\x86_amd64\\cl.exe' failed with exit status 2
已安装 Windows SDK 7,10。
我也不确定之后会发生什么,因为 OpenLDAP 设置可执行文件要求串行。我无法t find a version which can be installed on Windows. Visual C++ is also installed, I didnt 找到与丢失 vcruntime.h 相关的任何内容。我的整台机器上没有这样的文件。
有人可以帮助我指导如何进行吗?
提前谢谢你。
【问题讨论】: