Target WSGI script cannot be loaded as Python module

For me the problem was wsgi python version mismatch. I was using python 3, so: $ sudo apt-get remove libapache2-mod-python libapache2-mod-wsgi $ sudo apt-get install libapache2-mod-wsgi-py3 Warning from @alxs before you copy/paste these commands: If there are python 2 projects running on the server that use wsgi and apache, the above commands will effectively shut … Read more