I am trying to deploy a Flask app on AWS Elastic Beanstalk through the console GUI. Following the answer given here Your WSGIPath refers to a file that does not exist, I have named my main file application.py and have set the WSGIPath (through the Beanstalk console GUI) to application.py. Also, I have named my object application, not app. However, I am still getting this error:
Your WSGIPath refers to a file that does not exist.
Here is my file structure:
Here is the error that shows up
How can I resolve this error?