Since I also hit my head on this problem, write an answer for everyone. :) The problem is that when launched in emperor mode (on the system), the uwsgi master process cannot (or will not) load the correct environment for python (PYTHONPATH ) Using virtualenv, you specify the environment. Without this, you need to set the variable pythonpath, even several times, pointing to system-wide python paths.
As an example, for my system this is:
pythonpath = /usr/local/lib/python2.7/dist-packages
pythonpath = /usr/lib/python2.7
(using ini syntax)
source
share