easy_install python-ldap Error
Hello,
I am trying to install python-ldap using easy_install. OS is RHEL 5.6. I need to use python 2.6, so I installed python 2.6 in /usr/local/bin. Then I installed easy install with /usr/local/bin/python ez_setup.py. So far so good. But when I entered "easy_install python-ldap", I got the following error. I did some search, but could not make it work, so I am here. Please point me to a right direction. Thanks. Code:
[root@localhost ~]# easy_install python-ldap |
140+ people visiting this question, yet nobody offers any idea?
|
First : You are not supposed to have /usr/local/bin/python.
May disturb some system functions. Suggest : Delete the python in /usr/local. ( A manual install could live in /opt/python26/ ). The proof way : # yum install python26 python26-ldap 'python26' is in the EPEL repo https://fedoraproject.org/wiki/EPEL "Extra Packages for Enterprise Linux". |
knudfl:
What can I say? I did what you suggested, and it works!!! I owe you a big thank you. THANK YOU. People like you make this forum a place of hope for everyone! Some notes: To add epel repo, I did: rpm -Uvh http://download.fedora.redhat.com/pu...5-4.noarch.rpm Then I did yum update Then I ran yum install python26 python26-ldap I had a successful install because when I typed python26, I could see python 2.6 console. BTW, the python 2.6 has been installed in /usr/bin/python26 **Feeling good now ** Let me close this thread as the case has been solved. Cheers, |
All times are GMT -5. The time now is 12:23 PM. |