jeudi 15 octobre 2015

WSGIPath error when deploying Flask project in AWS

I have simple blog built with Flask as you can see here. However, when I am trying to deploy it on AWS using Beanstalk, I keep getting the error message:

"ERROR: Your WSGIPath refers to a file that does not exist."

In the log, I find the error message as: "Target WSGI script not found or unable to stat: /opt/python/current/app/application.py"

I have my application.py and .elasticbeanstalk in the root folder of the project.

Does anyone have an idea of why?

Thanks in advance.




2 commentaires: