Categories
Linux Mastering Development Ubuntu

Target WSGI script ‘/var/www/FlaskApp/flaskapp.wsgi’ cannot be loaded as Python module

Stuck here for days mod_wsgi (pid=16615): Target WSGI script ‘/var/www/FlaskApp/flaskapp.wsgi’ cannot be loaded as Python module. mod_wsgi (pid=16615): Exception occurred processing WSGI script ‘/var/www/FlaskApp/flaskapp.wsgi’. Traceback (most recent call last): File “/var/www/FlaskApp/flaskapp.wsgi”, line 7, in <module> from FlaskApp import app as application File “/var/www/FlaskApp/FlaskApp/__init__.py”, line 6, in <module> from Recognition import testCode,trainCode File “/home/example_2019/Recognition.py”, line 2, […]