Skip to content Skip to sidebar Skip to footer

Python Virtualenv(wrapper) + Uwsgi + Nginx (YET AGAIN)

Ok, I know there are loads of virtualenv + uwsgi + nginx articles out there, I've read about 50 of them (I have not fully read the uWSGI documentation). My question: Why do none

Solution 1:

In the first case you seem to be launching some kind of global (maybe one installed with sudo pip) uwsgi, as indicated by output:

detected binary path: /usr/local/bin/uwsgi

It may be missing python3 plugin to properly switch environments, and in general I found it is always simpler to use uwsgi from virtualenv - it just works more often. Really, don't bother trying to make system-wide work, use your own. You will need to put a full path in one more config, but that's hardly a problem. Just launch /path/to/your/venv/bin/uwsgi instead of just uwsgi.


Post a Comment for "Python Virtualenv(wrapper) + Uwsgi + Nginx (YET AGAIN)"