Traceback (most recent call last):
File "C:\WEB2PY\web2py\gluon\custom_import.py", line 77, in custom_importer
return NATIVE_IMPORTER(oname, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'urllib2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\WEB2PY\web2py\gluon\custom_import.py", line 90, in custom_importer
result = result or sys.modules[modules_prefix+'.'+itemname]
KeyError: 'applications.welcome.modules.urllib2'
web2py™ | Version 2.16.1-stable+timestamp.2017.11.14.05.54.25 PYTHON Python 3.6.2 Any solution or workaround? |
---|
web2py™ Version 2.16.1-stable+timestamp.2017.11.14.05.54.25
PYTHON Python 3.6.2
Any solution or workaround?
Yes, I say the documentation. But issues here is urllib2 works well from my python console.the error happens when web2py tries to call it.My code is not calling it directly. I believe ldap_auth library calling urllib2 internally and faile.Thanks,Suhas
Traceback (most recent call last):
File "C:\WEB2PY\web2py\gluon\custom_import.py", line 77, in custom_importer
return NATIVE_IMPORTER(oname, globals, locals, fromlist, level)