ImportError: No module named ldap
hello all, i have installed the python-ldap using python-ldap-21.0.0pre05.tar.gz i am getting this error 2002-12-12T13:22:10 ERROR(200) Zope Could not import Products.LDAPUserFolder Traceback (innermost last): File /home/zeo/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line 531, in import_product File /home/zeo/zope/lib/python/Products/LDAPUserFolder/__init__.py, line 13, in ? File /home/zeo/zope/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py, line 34, in ? File /home/zeo/zope/lib/python/Products/LDAPUserFolder/LDAPUser.py, line 19, in ? (Object: aq_inner) File /home/zeo/zope/lib/python/Products/LDAPUserFolder/utils.py, line 32, in ? ImportError: No module named ldap can any one help me out.. thanks in advance rockash.... __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
from the LDAPUserFolder README: **Requirements** In order for this product to run you will need to provide the following items: * a working LDAP server (see http://www.openldap.org/) * the python-ldap module (see http://python-ldap.sourceforge.net/) * optional ZBabel 2b3 (see http://demo.iuveno-net.de/) --On Donnerstag, Dezember 12, 2002 21:35:18 -0800 Dreaming Warrior <zeaxis555@yahoo.com> wrote:
hello all, i have installed the python-ldap using python-ldap-21.0.0pre05.tar.gz i am getting this error
2002-12-12T13:22:10 ERROR(200) Zope Could not import Products.LDAPUserFolder Traceback (innermost last): File /home/zeo/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line 531, in import_product File /home/zeo/zope/lib/python/Products/LDAPUserFolder/__init__.py, line 13, in ? File /home/zeo/zope/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py, line 34, in ? File /home/zeo/zope/lib/python/Products/LDAPUserFolder/LDAPUser.py, line 19, in ? (Object: aq_inner) File /home/zeo/zope/lib/python/Products/LDAPUserFolder/utils.py, line 32, in ? ImportError: No module named ldap
can any one help me out..
thanks in advance
rockash....
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Mit freundlichen Grüßen Joachim Schmitz -------------------------------------------------------------------- AixtraWare Ingenieurbüro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 -------------------------------------------------------------------- Key fingerprint = DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6 Keyserver: http://www.keyserver.net/en/
i'm not sure what you define as "installing" here, but it is clear that the python binary used to run your zope does not know about the python-ldap module yet. you need to run <python-binary> setup.py build and then <python-binary> setup.py install with the same python binary that runs your zope. if you have a zope binary version the python binary is in <zope-folder>/bin i think. jens On Friday, Dec 13, 2002, at 00:35 US/Eastern, Dreaming Warrior wrote:
hello all, i have installed the python-ldap using python-ldap-21.0.0pre05.tar.gz i am getting this error
2002-12-12T13:22:10 ERROR(200) Zope Could not import Products.LDAPUserFolder Traceback (innermost last): File /home/zeo/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line 531, in import_product File /home/zeo/zope/lib/python/Products/LDAPUserFolder/__init__.py, line 13, in ? File /home/zeo/zope/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py, line 34, in ? File /home/zeo/zope/lib/python/Products/LDAPUserFolder/LDAPUser.py, line 19, in ? (Object: aq_inner) File /home/zeo/zope/lib/python/Products/LDAPUserFolder/utils.py, line 32, in ? ImportError: No module named ldap
can any one help me out..
thanks in advance
rockash....
participants (3)
-
Dreaming Warrior -
Jens Vagelpohl -
Joachim Schmitz