Error importing LDAP module

Sharma, Gopesh (NCI) sharmago at mail.nih.gov
Fri Apr 12 06:23:19 CEST 2002


Hello All:

I am getting error while using 'import ldap' command. 

**************************************************************************

[root at tsdev2 bin]# ./python
Python 2.1.2 (#1, Jan 25 2002, 13:17:56) 
[GCC 2.7.2.3] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import ldap
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/ZopePark/lib/python2.1/ldap.py", line 2, in ?
    from _ldap import __version__
ImportError: No module named _ldap
>>> 

**************************************************************************
I am running Python2.1.2 from within Zope Framework. If I use python2.2 it
works fine.

Is there any Pythons 2.1.2 patch available so that I can install in Zope?? 

Please advise.
Thanks,
Gopesh  




More information about the python-ldap mailing list