python - ImportError: No module named django.core.wsgi for ...
stackoverflow.com › questions › 14194859The error ImportError: No module named django.core.wsgi generally arises when uwsgi tries reading the wsgi.py file, and comes to the line: from django.core.wsgi import get_wsgi_application. It can't find this these modules because Django is not installed, or if it is installed, it is not in PYTHONPATH. If your project is in a virtualenv and Django is only installed in this virtualenv, somehow the path to the Django modules are not in the PYTHONPATH, and thus Python can't find it.