|
From: Jens V. <je...@zo...> - 2002-04-12 11:49:58
|
build python-ldap with the exact binary that is in zope. i assume you are using some binary distribution. <python_binary_in_zope_tree> setup.py build <python_binary_in_zope_tree> setup.py install that should do it. jens P.S.: a lot of peoples' problems could be solved if they used the source install of zope, which is very easy to install and build. then you can use any python module that is installed into your machine's python library path because your machine's python is used. On Friday, April 12, 2002, at 12:23 , Sharma, Gopesh (NCI) wrote: > Hello All: > > I am getting error while using 'import ldap' command. > > ************************************************************************* > * > > [root@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 > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |