天天看点

安装python-ldap报错解决方法

本文参考

使用pip安装python-ldap报错,报错信息如下

In file included from Modules/LDAPObject.c:8:0:
Modules/constants.h:7:18: 致命错误:lber.h:没有那个文件或目录
#include “lber.h”      

解决办法

yum install openldap-devel      

继续阅读