trying to import ldap_auth. Got a little error when running web2py.py -
S

C:\web2py>python web2py.py -S welcome -M
..
Version 1.91.6 (2011-01-03 17:55:14)
..
WARNING:web2py:import IPython error; use default python shell
Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit
(AMD64)] on win32

And when I try to import ldap_auth, seems like python is not
recognizing the _auth part. Directory is pointing to the correct
location for ldap_auth.py


>>> import gluon.contrib.login_methods.ldap_auth
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\web2py\gluon\contrib\login_methods\ldap_auth.py", line 1,
in <module> import ldap
ImportError: No module named ldap

Reply via email to