title: flask run Error: While importing 'project', an ImportError was raised
body: <p>I have project directory named Project, and project directory includes python files and html files et al., and want to deploy in the AWS ec2 ubuntu sever.when I run in the local is ok.</p>
  <p>when run &quot;flask run&quot; under the Project directory, there is error in the ubuntu terminal.</p>
  <pre><code>flask run
   * Serving Flask app 'project' (lazy loading)
   * Environment: development
   * Debug mode: on
  Usage: flask run [OPTIONS]
  Try 'flask run --help' for help.
  
  Error: While importing 'project', an ImportError was raised
  </code></pre>
  <p>I have set a .flaskenv file as following:</p>
  <pre><code>FLASK_APP=project
  FLASK_ENV=development 
  </code></pre>