django.core.exceptions.ImproperlyConfigured: WSGI application 'application' could not be loaded

前端 未结 14 3128
[愿得一人]
[愿得一人] 2021-02-20 06:19

The scenario is,

I cloned the Django code for OpenShift-V3 from here . When I run the code using python manage.py runserver getting an error as,

14条回答
  •  生来不讨喜
    2021-02-20 06:42

    I tried all these solution and the one worked for me was this:

    pip install django-htmlmin
    

    This module was missing and not mentioned in requirements.txt Shows long error message that ends with wsgi application improperly configured. But somewhere in middle I could see "No module named 'htmlmin' I installed and it is resolved.

提交回复
热议问题