Skip to content Skip to sidebar Skip to footer

Uwsgi Says: "importerror: No Module Named Wsgi"

When uWSGI starts, it writes 'ImportError: No module named wsgi' My uwsgi.xml quux

Solution 1:

You have specified <module>wsgi</module>, and so uWSGI is doing what you have asked of it, to load a module named wsgi and serve it. How is your python script installed? You haven't even mentioned that you have a python program to serve.

Probably, what you really want is to use the <file> directive to tell uWSGI the path to read a python file from, and serve that. If you are using an installed module, you should substitute wsgi in the <module> tag with the appropriate module you are trying to serve.

Post a Comment for "Uwsgi Says: "importerror: No Module Named Wsgi""