【问题标题】:Your WSGIPath refers to a file that does not exist while uploading flask app in AWS Elastic Beanstalk您的 WSGIPath 引用了在 AWS Elastic Beanstalk 中上传烧瓶应用程序时不存在的文件
【发布时间】:2020-06-22 17:14:39
【问题描述】:

我正在尝试在 AWS EB 中部署我的烧瓶应用程序。我只有 2 个文件 - application.py 和 requirements.txt。我已将它们压缩并通过 EB 控制台上传。

我收到以下错误:

您的 WSGIPath 引用了一个不存在的文件。

在配置部分我的 WSGI 路径被声明为 application.py

【问题讨论】:

    标签: amazon-web-services flask amazon-elastic-beanstalk


    【解决方案1】:

    问题解决了。 zip 文件里面有另一个文件夹,里面有这两个文件。 部署 zip 文件时应该有 application.py 文件。

    【讨论】:

      猜你喜欢
      • 2016-08-22
      • 2016-12-03
      • 2021-02-21
      • 2019-03-06
      • 2015-09-19
      • 2020-05-04
      • 2012-12-31
      • 2013-07-14
      • 2012-10-17
      相关资源
      最近更新 更多