[python-ldap] problems using import ldap
Michael Ströder
michael at stroeder.com
Tue Jul 19 10:42:20 CEST 2011
Francis,
please always follow-up on the mailing list (cc:-ed).
Unfortunately you also do not provide any information needed to help you.
Francis Abrante wrote:
> this is the output
>
> Thanks
>
> orbac at orbac-desktop:~$ python -c "import ldap;print ldap.__version__"
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: No module named ldap
So how did you install python-ldap? If you're using a pre-packaged version of
python-ldap found in Ubuntu the command above should simply work - provided
you're using the right Python interpreter.
If you decide to build and install python-ldap yourself then you should follow
the instructions here:
http://www.python-ldap.org/doc/html/installing.html
Ciao, Michael.
More information about the python-ldap
mailing list