I have an issue with that solution. When I run multiple apps with uwsgin (configs in /etc/uwsgi/apps-available) the plugin option does not seem to work.
I put plugin=python35 to one and plugin=python36 to the other and at the end both try to run with python36. Only when I remove /usr/lib/uwsgi/plugins/python36_plugin.so then uwsgi runs python3.5
The weirder thing is that running uwsgi --plugin python36 -s :0 and uwsgi --plugin python35 -s :0 spawns it with the correct version of python.
uwsgi --plugin python36 -s :0
uwsgi --plugin python35 -s :0
Any idea what could cause it?
Managed to solve my issue!
I have installed uwsgi package for ubuntu (16.10).
Afterwards I installed uwsgi-emperor where I copied my previous configs.
Another issue that I had was master=True in the apps .ini files. This should be False to be able to run multiple python versions.
Hi George and thanks to shared your solutions.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.