[Fixed]-No module named django.core.wsgi with nginx, uwsgi and virtualenv

1👍

You’re doing the import before you’ve added your virtualenv to the pythonpath, so naturally the module can’t be found. Move the import to just before the get_wsgi_application() call itself.

Leave a comment