由于许多安装错误,无法在RHEL 6.5上使用pip2.7安装python

编程入门 行业动态 更新时间:2024-10-26 12:27:37
由于许多安装错误,无法在RHEL 6.5上使用pip2.7安装python-ldap(Cannot install python-ldap with pip2.7 on RHEL 6.5 due to many install errors)

我正在RHEL 6.5服务器上安装python-ldap。 我在Python 2.7.9上。

我正在使用以下命令来安装

pip2.7 install python-ldap

编译过程失败,出现很多错误。

有人能指导我吗?

会议记录在http://dpaste.com/2BQFWF8

I am installing python-ldap on a RHEL 6.5 Server. I am on Python 2.7.9.

I am using the following command to installl

pip2.7 install python-ldap

The compilation process fails with lots of errors.

Could someone please guide me?

The session transcript is at http://dpaste.com/2BQFWF8

最满意答案

您没有安装标题lber.h和ldap.h

要找出哪些软件包提供它们,请运行

yum provides */lber.h */ldap.h

这告诉你,你需要安装openldap-devel所以运行yum install openldap-devel

You don't have the headers lber.h and ldap.h installed.

To find out what package provides them, run

yum provides */lber.h */ldap.h

That tells you you need to install openldap-devel so run yum install openldap-devel

更多推荐

本文发布于:2023-07-25 05:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1256711.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   RHEL   python

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!