Thursday, June 1, 2017

Re: uWSGI ModuleNotFoundError Django 1.11

*** Operational MODE: single process ***
Traceback (most recent call last):
  File "./project/wsgi.py", line 12, in <module>
    from django.core.wsgi import get_wsgi_application
ModuleNotFoundError: No module named 'django'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 22388, cores: 1)
^C

Shouldn't it see the Django installation in the virtualenv? I haven't had this much fun since I had my wisdom teeth removed .... Thanks again!

Dumb question. Have you verified that Django is installed in the virtualenv being used by uwsgi? You should be able to enter the virtualenv and run that specific import command that is outlined. 

-James 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciV5cmRAMNk2pAjbAL4YJ8oYKu9D%2BYqk1dHLa4wcn1e0bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment