ImportError: No module named django.core.handlers.wsgi in install django mod_wsgi config on apache

前端 未结 10 964
我寻月下人不归
我寻月下人不归 2021-02-06 22:34

I tried to install django to work with apache and mod_wsgi but get this error:

ImportError: No module named django.core.handlers.wsgi,

I\'v rea

10条回答
  •  时光说笑
    2021-02-06 23:19

    I've had this issue before, and it was because the Apache/mod_wsgi process did not have permission to read the modules. You can make your site-packages/django directory world-readable, or add other appropriate user/group permissions.

提交回复
热议问题