|
From: Jens V. <je...@zo...> - 2002-02-28 13:41:20
|
will setup.py fail when you run it and there is no ldap.py? i dimly remember seeing that warning but the build process never failed, i think that message is benign and doesn't mean much. just sticking in a piece of code from a *totally* different version of python-ldap is probably not a good solution and will lead to problems. jens On Thursday, February 28, 2002, at 02:27 , de...@il... wrote: > Hi, > > two issues with code from cvs as of 2/28/02. First, python setup.py build > complained about: > > warning: build_py: file Lib/ldap.py (for module ldap) not found > > There was no ldap.py file anywhere in the module I got from cvs. > > I put a ldap.py file from python-ldap-1.10alpha3 into Lib and was able to > build and install. > > However, when I try to import ldap or _ldap I get denied: > > $ python > Python 2.0.1 (#1, Jun 24 2001, 18:39:34) > [GCC 2.95.3 20010315 (release)] on linux2 > Type "copyright", "credits" or "license" for more information. >>>> import ldap > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/lib/python2.0/site-packages/ldap/__init__.py", line 5, in ? > from _ldap import * > ImportError: cannot open shared object file: cannot load shared object > file: No such file or directory >>>> import _ldap > Traceback (most recent call last): > File "<stdin>", line 1, in ? > ImportError: cannot open shared object file: cannot load shared object > file: No such file or directory >>>> > > > -- > --- > Dennis Sacks > de...@il... > "Things are falling down on me, heavy things I could not see" > > > > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |