1.安装报错信息:

error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpyt
hon27

或者fatal error C1083: Cannot open include file: 'config-win.h':
No such file or directory
error: command 'C:\\Users\\cao.wenhao\\AppData\\Local\\Programs\\Common\\Mic
rosoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2

2.不要直接使用pip install python-ldap django-auth-ldap,pip install会安装最新版本

3.到官网寻找低版本下载:https://pypi.python.org/pypi/django-auth-ldap/1.1.4

            https://pypi.python.org/pypi/python-ldap/2.4.13

4.下载完成安装即可

相关文章:

  • 2021-08-03
  • 2021-06-24
  • 2021-07-18
  • 2021-11-14
  • 2022-02-09
  • 2021-09-22
猜你喜欢
  • 2021-10-28
  • 2021-03-27
  • 2022-12-23
  • 2022-01-23
  • 2021-12-14
  • 2021-06-18
  • 2022-12-23
相关资源
相似解决方案