hey massimo, thanks for responding and mine is below. which got me thinking about installing a new version of uwsgi. so i first installed python39-devel using:
*yum install python39-devel* then i ran: *pip install uwsgi* and restarted the web services on the server and web2py is not using python3.9. an aside, for pip to install and compile the uwsgi package it needs the python39-devel package first. also, i realized that the uwsgi package was only installed under the 3.8 site-packages and not the 3.9 site-packages. so, now all is good. thank you massimo and have a great day. lucas [Unit] Description=uWSGI Emperor service [Service] ExecStartPre=/usr/bin/bash -c 'mkdir -p /run/uwsgi; chown web2py:nginx /run/uwsgi' ExecStart=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites Restart=always KillSignal=SIGQUIT Type=notify NotifyAccess=all [Install] WantedBy=multi-user.target On Wednesday, November 30, 2022 at 9:22:14 AM UTC-5 Massimiliano wrote: > If you use systemd to start uwsgi, check what uwsgi is started > > Take a look here: > > cat /etc/systemd/system/multi-user.target.wants/uwsgi.service > > mine: > > [Unit] > Description=uWSGI Web2Py > After=network.target > > [Service] > ExecStart=*/home/www-data/.pyenv/shims/uwsgi* --ini > /home/www-data/uwsgi/w2p.ini > # Requires systemd version 211 or newer > Restart=always > KillSignal=SIGQUIT > Type=notify > StandardError=syslog > NotifyAccess=all > > [Install] > WantedBy=multi-user.target > > Il giorno mer 30 nov 2022 alle ore 13:35 lucas <[email protected]> ha > scritto: > >> also all of the symbolic links, like "python", run to python3.9. and >> scripts that have "#!/usr/bin/env python" seem to be running python3.9 >> also. so, I can not figure out why web2py is backtracking to python3.8, as >> shown for instance in the admin interface or under error trace files. >> >> On Tuesday, November 29, 2022 at 10:58:57 PM UTC-5 lucas wrote: >> >>> hello one and all, >>> >>> i just upgraded my centos8stream server from python3.8 to python3.9 >>> running nginx1.14 and uwsgi2.0.21 and web2py2.22.5. >>> >>> when i restart web2py it says it is still accessing and running under >>> python3.8. >>> >>> how do i setup web2py to start using python3.9? >>> >>> thank you in advance, lucas >>> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/web2py/9fd566c0-93e5-4715-baae-772d41e44aa6n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/web2py/9fd566c0-93e5-4715-baae-772d41e44aa6n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Massimiliano > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/12dbdc87-3235-40b8-ac23-944a22a5cefbn%40googlegroups.com.

