Apache mod_wsgi error: ImportError: No module named django.core.handlers.wsgi

Posted by bigmac on Server Fault See other posts from Server Fault or by bigmac
Published on 2011-04-21T09:43:00Z Indexed on 2011/07/01 0:23 UTC
Read the original article Hit count: 506

Filed under:
|
|

I am using Python 2.7 with mod_python 3.3.1 and mod_wsgi 3.3.

I get an Internal Server Error and this stack trace in the apache logs:

[Thu Apr 21 10:25:37 2011] [error] [client 83.244.243.242]     import django.core.handlers.wsgi [Thu Apr 21 10:25:37 2011] [error] [client
83.244.243.242] ImportError: No module named django.core.handlers.wsgi [Thu Apr 21 10:25:37 2011] [error] [client
83.244.243.242] mod_wsgi (pid=4463): Target WSGI script '/home/one/codebase/campman/wsgi_handler.py' cannot be loaded as Python module. [Thu Apr 21 10:25:37 2011] [error] [client 83.244.243.242] mod_wsgi (pid=4463): Exception occurred processing WSGI script '/home/one/codebase/campman/wsgi_handler.py'. [Thu Apr 21 10:25:37 2011] [error] [client 83.244.243.242] Traceback (most recent call last): [Thu Apr 21 10:25:37 2011] [error] [client
83.244.243.242]   File "/home/one/codebase/campman/wsgi_handler.py", line 13, in <module> [Thu Apr 21 10:25:37 2011] [error] [client
83.244.243.242]     import django.core.handlers.wsgi [Thu Apr 21 10:25:37 2011] [error] [client
83.244.243.242] ImportError: No module named django.core.handlers.wsgi

© Server Fault or respective owner

Related posts about apache

Related posts about django