[Zope] ImportError: No module named ldap
Jens Vagelpohl
jens@zope.com
Fri, 13 Dec 2002 08:11:49 -0500
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....