【问题标题】:ModuleNotFoundError: No module named 'ramaelectricstore.wsgi.application'; 'ramaelectricstore.wsgi' is not a packageModuleNotFoundError:没有名为“ramaelectricstore.wsgi.application”的模块; “ramaelectricstore.wsgi”不是一个包
【发布时间】:2021-05-17 03:35:09
【问题描述】:

我正在准备在 AWS EC2 实例上部署 Django 应用程序,但在运行此命令之后 4-144:~/ramaelectricstore/ramaelectricstore$ gunicorn --bind 0.0.0.0:8000 ramaelectricstore.wsgi.application

我遇到了这个错误,请帮助我

ModuleNotFoundError:没有名为“ramaelectricstore.wsgi.application”的模块; 'ramaelectricstore.wsgi' 不是一个包

【问题讨论】:

    标签: python django amazon-web-services


    【解决方案1】:

    @Amar Thakur- 您是否尝试过以下操作。

    gunicorn --bind 0.0.0.0:8000 ramaelectricstore.wsgi
    

    【讨论】:

      猜你喜欢
      • 2020-09-09
      • 2020-12-06
      • 2020-12-27
      • 2021-10-12
      • 2020-10-04
      • 2020-07-02
      • 2018-05-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多