Answer the question
In order to leave comments, you need to log in
Installing uwsgi globally, why doesn't it see python?
Good afternoon!
python, django, python pip uwsgi installed in virtualenv.
I deactivate virtual env, do sudo apt-get install uwsgi - to install it globally. I go to the site - 502 error. And if you run from under the virtual environment, then everything is ok.
How right?
Answer the question
In order to leave comments, you need to log in
I'll try to describe it differently.
I'm running uwsgi globally,
Here's what's in the console:
*** Operational MODE: preforking ***
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
!!!!!!!!!!!!!! WARNING!!!!!!!!!!!!!!!
no request plugin is loaded, you will not be able to manage requests.
you may need to install the package for your language of choice, or simply load it with --plugin.
!!!!!!!!!!! END OF WARNING!!!!!!!!!!
And nginx gives 502 error.
I run uwsgi from virtualenv everything is ok.
The goal is to run it globally like here - uwsgi-docs.readthedocs.org/en/latest/tutorials/Dja...that is, that the project is constantly available to users.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question