unable to build ldap.py

Michael Ströder michael at stroeder.com
Thu Sep 5 13:30:48 CEST 2002


Ulf von Ceumern wrote:
> 
> warning: build_py: file Lib/ldap.py (for module ldap) not found

This is a warning caused by a deficiency of DistUtils. Just ignore it.

> plus: i am installing this under a user dir and need to point python to
> use this version rather than the old version which is installed under
> the python lib dir somewhere. how do i do that?

Use the executable of python which is in your user dir when invoking 
setup.py.

Example:

$ /home/ulf/bin/python setup.py build
$ /home/ulf/bin/python setup.py install

instead of

$ python setup.py build
$ python setup.py install

Note that the build also has to be done with your locally installed version!

Ciao, Michael.






More information about the python-ldap mailing list