I\'m trying to upload my Flask application to AWS however I receive an error on doing so:
Your WSGIPath refers to a file that does not exist.
If anyone here is doing via AWS Console (GUI), modify the configuration and put your script name in WSGIPath as below.
I'm giving bonus hints if you are newer.
from flask import Flask
application = Flask(__name__)
@application.route("/")
def hello():
return "Hello"
if __name__ == "__main__":
application.run()