title: 500 internal server error elastic beanstalk flask
body: <p>I am trying to deploy my simple EB project with Python - Flask but I am getting the below error. It is running in local virtual environment without any issue.</p>
  <p><strong>Internal Server Error
  The server encountered an internal error or misconfiguration and was unable to complete your request.
  Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
  More information about this error may be available in the server error log.</strong></p>
  <p>My application.py file:</p>
  <pre><code>from flask import Flask
  
  app = Flask(__name__)
  
  @app.route(&quot;/&quot;)
  def home():
      return &quot;Hello, World!!!&quot;
  
  if __name__ == &quot;__main__&quot;:
      app.run()
  </code></pre>
  <p>requirements.txt:</p>
  <pre><code>click==7.1.2
  Flask==1.0.2
  itsdangerous==1.1.0
  Jinja2==2.11.2
  MarkupSafe==1.1.1
  Werkzeug==1.0.1
  </code></pre>
  <p>My Zip file contains:</p>
  <p><img src="https://i.stack.imgur.com/vuibe.png" alt="enter image description here" /></p>