Hello. I am web2py beginner. I have trouble in web2py. Does someone know that how to import python module ? Please help.
[Thu Jan 22 10:53:55 2015] [error] [client XXXXX] mod_wsgi (pid=2241): Target WSGI script '/home/www/web2py/wsgihandler.py' cannot be loaded as Python module. [Thu Jan 22 10:53:55 2015] [error] [client XXXXX] mod_wsgi (pid=2241): Exception occurred processing WSGI script '/home/www/web2py/wsgihandler.py'. [Thu Jan 22 10:53:55 2015] [error] [client XXXXX] Traceback (most recent call last): [Thu Jan 22 10:53:55 2015] [error] [client XXXXX] File "/home/www/web2py/wsgihandler.py", line 37, in <module> [Thu Jan 22 10:53:55 2015] [error] [client XXXXX] import gluon.main [Thu Jan 22 10:53:55 2015] [error] [client XXXXX] File "/home/www/web2py/gluon/__init__.py", line 15, in <module> [Thu Jan 22 10:53:55 2015] [error] [client XXXXX] from globals import current [Thu Jan 22 10:53:55 2015] [error] [client XXXXX] File "/home/www/web2py/gluon/globals.py", line 25, in <module> [Thu Jan 22 10:53:55 2015] [error] [client XXXXX] import gluon.settings as settings [Thu Jan 22 10:53:55 2015] [error] [client XXXXX] AttributeError: 'module' object has no attribute 'settings' web2py Version 2.9.12-stable+timestamp.2015.01.17.06.11.03 postgresql 9.1+134wheezy4 python 2.7.3-4+deb7u1 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.