mandrake9.1 install problem
michael at stroeder.com
Fri Apr 18 14:18:26 CEST 2003
Alain Soyeur wrote:
> I used python-ldap without problems
> warning: build_py: file Lib/ldap.py (for module ldap) not found
> warning: build_py: file Lib/ldap/schema.py (for module ldap.schema) not found
These two messages are no problem. It's just an issue with the DistUtils not
properly recognizing the module packages.
> I tried an install with python setup.py install, but when I use my old
> scripts, they don't work anymore, with errors like :
> NameError: global name 'SCOPE_SUBTREE' is not defined
Please try the following:
$ python -c "import ldap; print ldap.SCOPE_SUBTREE"
More information about the python-ldap