【问题标题】:Apache Superset | CentOs | Docker | Single containerApache 超集 | CentO |码头工人 |单个容器
【发布时间】:2020-06-26 20:59:35
【问题描述】:

我遇到了开发文件的构建/编译错误(标题问题)python ldap 与 Apache Superset 的集成。这两个模块都安装了 openldap-devel 和 python-devel。 https://www.python-ldap.org/en/python-ldap-3.2.0/installing.html#centos

请帮忙,谢谢!

  In file included from C/libldap.c:5:
  C/libldap.h:10:10: fatal error: ldap.h: No such file or directory
   #include <ldap.h>
            ^~~~~~~~
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for py3-libldap

ibldap.c -o build/temp.linux-x86_64-3.6/C/libldap.o
    In file included from C/libldap.c:5:
    C/libldap.h:10:10: fatal error: ldap.h: No such file or directory
     #include <ldap.h>
              ^~~~~~~~
    compilation terminated.
    error: command 'gcc' failed with exit status 1

【问题讨论】:

    标签: apache-superset superset python-ldap


    【解决方案1】:

    【讨论】:

    • 太棒了,我刚刚尝试过,看起来可以工作,会及时通知您。我在 requirements.txt 中进行了设置,但从那里失败了,但直接安装它并且它工作!谢谢!
    猜你喜欢
    • 2016-01-18
    • 2018-11-29
    • 2016-07-27
    • 1970-01-01
    • 2017-02-01
    • 1970-01-01
    • 2020-08-14
    • 1970-01-01
    相关资源
    最近更新 更多