Hi,
Hopefully someone can help me in something that should have a
straightforward solution. I have tried install uwsgi multiple ways,
including pip and apt-get.
This is my ini file inside the vassals subdirectory:
[uwsgi]
chdir = /home/webquest/html/online.webquest.co.nz
uid = webquest
gid = webquest
socket = /tmp/%n.sock
processes = 1
master = 1
module = bakerydemo.wsgi
plugins = python
env = DJANGO_SETTINGS_MODULE=bakerydemo.settings.base
# Use home directive to specify virutalenv path
#pythonpath = /home/webquest/venvs/bakerydemo/lib/python3.6/
virtualenv = /home/webquest/venvs/bakerydemo/
Lately I've tried adding in the line "plugins = python" but that causes
a resounding failure with the following error:
[uWSGI] getting INI configuration from online.webquest.co.nz.ini
open("/usr/lib/uwsgi/plugins/python_plugin.so"): No such file or
directory [core/utils.c line 3691]
!!! UNABLE to load uWSGI plugin:
/usr/lib/uwsgi/plugins/python_plugin.so: cannot open shared object
file: No such file or directory !!!
I tried installing the plugin with "apt install uwsgi-plugin-python3"
but that made no difference.
I have no idea if these steps are even necessary. I am just
floundering in the dark just randomly trying stuff I see in the
documentation. All I am really after, at this stage, is to get a
virtualenv actually working from an ini file. Previously I have just
resorted to activating the virtualenv from the shell (using source
~/venvs/project/bin/activate) and then running uwsgi but I need to
learn how to do this in order to have the option of using emperor mode
later down the track.
Any help would be appreciated.
Thanks
regards
Glenn
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi