On Tue, Dec 12, 2017 at 7:49 AM, Larry Martell <larry.mart...@gmail.com> wrote: > On Tue, Dec 12, 2017 at 1:18 AM, Gerhard Schmidt <esta...@augusta.de> wrote: >> Am 12.12.2017 um 03:07 schrieb Larry Martell: >> >>> So is there any way I can run it using the different version? >> >> You have to compile a second uwsgi binary using the needed version at >> compiletime > > OK, so I have done this: > > $ su > Password: > # scl enable python27 /bin/bash > # python --version > Python 2.7.13 > # pip install uwsgi > Collecting uwsgi > Downloading uwsgi-2.0.15.tar.gz (795kB) > 100% |████████████████████████████████| 798kB 452kB/s > Building wheels for collected packages: uwsgi > Running setup.py bdist_wheel for uwsgi ... done > Stored in directory: > /root/.cache/pip/wheels/26/d0/48/e7b0eed63b5d191e89d94e72196aafae93b2b6505a9feafdd9 > Successfully built uwsgi > Installing collected packages: uwsgi > Successfully installed uwsgi-2.0.15 > > But when I run uwsgi with systemctrl it it still using 2.7.5. > /etc/systemd/system/uwsgi.service references /usr/bin/uwsgi - is there > now another one built with 2.7.13 that has been installed somewhere > that I sould reference instead?
I got this going - I had to symink /opt/rh/python27/root/usr/bin/uwsgi to /usr/bin _______________________________________________ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi