Forums

Cannot import flask_app

Hi,

I am pretty new to pythonanywhere, and have actually never used wsgi files. I have created a simple flask application and configured a wsgi file (see below). However when i run the flask app, nothing happens and in the error log i get the following: enter image description here

It seems something is wrong with the path, but i cant figure out what it is. Thanks in advance for the help!

WSGI File:

enter image description here

flask_app.py:

enter image description here

So it is trying to find the flask_app.py at /home/MarkWallbang/mysite/flask_app.py. Is that where your file is?