docker python 镜像安装pip install python-ldap 报错

寵の児 提交于 2020-03-05 09:16:18

docker python 镜像安装pip  install  python-ldap 报错

Modules/LDAPObject.c:16:23: fatal error: sasl/sasl.h: No such file or directory
#include <sasl/sasl.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1

 

解决:

apt-get install libsasl2-dev

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!