ImportError: No module named django.core.wsgi for uwsgi

前端 未结 6 2334
Happy的楠姐
Happy的楠姐 2020-12-09 02:55

I\'m using uwsgi for my Django(version =1.4) project, but there\'s an error if I run

uwsgi --ini django.ini
from django.core.wsgi impor         


        
6条回答
  •  执笔经年
    2020-12-09 03:44

    If you installed gunicorn on both sudo apt-get install gunicorn and (venv) pip install gunicorn, use sudo apt-get remove gunicorn and restart your virtual environment. This way, it worked for me.

提交回复
热议问题