Hello all, -I have downloaded and installed python-ldap 2.4.10 from here: http://pypi.python.org/pypi/python-ldap/2.4.10 --Windows binary 2.4.10 for Python 2.7 --I get no errors when trying to import in the shell, so it's installed. -I have followed the directions here to attempt to setup authentication with MS Active Directory: http://web2py.com/books/default/chapter/29/09
However, immediately upon running my application, I receive this error: ImportError: Cannot import module 'ldap' File "C:\Python27\Lib\threading.py", line 524, in __bootstrap self.__bootstrap_inner() File "C:\Python27\Lib\threading.py", line 551, in __bootstrap_inner self.run() File "c:\web2py\gluon\rocket.py", line 1337, in run self.run_app(conn) File "c:\web2py\gluon\rocket.py", line 1838, in run_app output = self.app(environ, self.start_response) File "c:\web2py\gluon\main.py", line 725, in app_with_logging ret[0] = wsgiapp(environ, responder2) File "c:\web2py\gluon\main.py", line 543, in wsgibase serve_controller(request, response, session) File "c:\web2py\gluon\main.py", line 221, in serve_controller run_models_in(environment) File "c:\web2py\gluon\compileapp.py", line 539, in run_models_in restricted(code, environment, layer=model) File "c:\web2py\gluon\restricted.py", line 223, in restricted sys.excepthook(etype, evalue, tb) File "c:\web2py\applications\apollo\models\db.py", line 44, in <module> from gluon.contrib.login_methods.ldap_auth import ldap_auth File "c:\web2py\gluon\custom_import.py", line 96, in custom_importer return NATIVE_IMPORTER(name, globals, locals, fromlist, level) File "c:\web2py\gluon\contrib\login_methods\ldap_auth.py", line 14, in <module> raise e What simple step am I missing? Thanks. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

