[python-ldap] problems using import ldap
fabrante at yahoo.com
Thu Jul 28 13:24:23 CEST 2011
I already uninstall the other versions, but where can I get the library for 32 bits?
De: Michael Ströder <michael at stroeder.com>
Para: Francis Abrante <fabrante at yahoo.com>
CC: "python-ldap at python.org" <python-ldap at python.org>
Enviado: Jueves, julio 28, 2011 10:39 A.M.
Asunto: Re: [python-ldap] problems using import ldap
Francis Abrante wrote:
> I still have problems, but I think that my problem come from the library
> version. I don't know from where I can get the egg version for python 2.7.
> From http://svn.kmrc.de/download/distribution/contrib/ only allow me until
> /home/orbac/TSP-CloudStack/src/it/tsp/cloudstack/orbac/LDAP Agent/get_info.py
> Traceback (most recent call last):
> File "/home/orbac/TSP-CloudStack/src/it/tsp/cloudstack/orbac/LDAP
> Agent/get_info.py", line 1, in <module>
> import ldap
> line 22, in <module>
> from _ldap import *
> wrong ELF class: ELFCLASS64
This rather sounds to me that you've compiled python-ldap for 64-bit platform
but the Python interpreter you're using is a 32-bit build.
It seems that to that you should really clean up your system. You're mixing
build platforms, Python versions, python-ldap etc. That's a big mess.
Especially you should read and understand about how DistUtils are working (the
link I've posted before).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the python-ldap