ImportError: No module named django.core.handlers.wsgi in install django mod_wsgi config on apache

I solved the problem by adding location of site-packages, where I have kept django subdirectory (/Library/python/2.7/site-packages) to WSGIDaemonProcess:

WSGIDaemonProcess www.example.com processes=2 threads=15 display-name=%{GROUP} 
    python-path=/Library/python/2.7/site-packages

If you are using embedded server mode use in httpd.conf:

WSGIPythonPath /Library/python/2.7/site-packages

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)