This errors will occurs if we put “WSGIPythonPath” inside Apache Virtualhost. If you’re using Django version 1.4 or 1.5, here is a quickfix solution. Open your virtualhost file.
1. Delete WSGIPythonPath line
2. Add site path into python-path in WSGIDaemonProcess.
Example:
1 2 3 | # Django settings WSGIDaemonProcess dapurhemat user=www-data group=www-data processes=1 threads=10 python-path=/path/to/yoursiteproject:/path/to/yourvirtualenvs/lib/python2.7/site-packages/ WSGIProcessGroup dapurhemat |