On Mon, Dec 11, 2017 at 8:22 PM Damjan Georgievski <[email protected]>
wrote:

> On 11 December 2017 at 23:56, Larry Martell <[email protected]>
> wrote:
> > I am running on CentOS 7, which has a default python of 2.7.5. I want
> > to run uWSGI with 2.5.13, which I have downloaded. From a shell I need
> > to run this to enable the other version:
> >
> > scl enable python27 bash
> >
> > I tried modifying /etc/systemd/system/uwsgi.service thusly:
> >
> > ExecStart=/usr/bin/scl enable python27 bash; /usr/bin/uwsgi --emperor
> > /etc/uwsgi/sites
>
> » /usr/bin/scl enable python27 bash « works only in bash, not in an
> ExecStart= liine in systemd. you should not try to use shell stuff in
> systemd, it wont work
>
>
> but also more imporantly, uwsgi (or the python plugin) links to
> libpython directly and doesn't use the /usr/bin/pythonX.Y executable
> for anything.
>

So is there any way I can run it using the different version?

>
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to