Invalid command 'WSGIReloadMechanism', perhaps misspelled or defined by a module not included in the server configuration Action'configtest' failed.
solution:
sudo apt-get install libapache2-mod-wsgi
sudo a2enmod wsgi
sudo service apache2 restart