python安装django-auth-ldap报错fatal error: sasl/sasl.h: No such file or directory

python安装django-auth-ldap报错内容:
python安装django-auth-ldap报错fatal error: sasl/sasl.h: No such file or directory
根据报错提示,应该要安装python-ldap
安装python-ldap还是报错:python安装django-auth-ldap报错fatal error: sasl/sasl.h: No such file or directory
参考:
python安装django-auth-ldap报错fatal error: sasl/sasl.h: No such file or directory
apt-get install libsasl2-dev安装libsasl2-dev,再安装python-ldap,最后安装django-auth-ldap,成功。
python安装django-auth-ldap报错fatal error: sasl/sasl.h: No such file or directory

上一篇:python安装pyhs2遇到的问题


下一篇:ZK实现SASL认证+Kafka连接ZK