@ttaidapos, I did this guide ages ago for upgrading python when running core in a venv. Obviously you’ll need to download and run the python version you want rather than the one in the commands there, and make sure you adapt for your install paths and autostart service if they are different…
There’s some troubleshooting further down the thread too if needed.