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_第1张图片
根据报错提示,应该要安装python-ldap
安装python-ldap还是报错:在这里插入图片描述
参考:
python安装django-auth-ldap报错fatal error: sasl/sasl.h: No such file or directory_第2张图片
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_第3张图片

你可能感兴趣的:(报错分析处理,python,docker,python,linux,报错)