It seems my default python is v3.11 (indicated by the asterisk when doing command line "py -0p") and yet at the same time it says it's v3.10 (command line "python --version") and v3.10 is also the version it opens by default via command line.
I've updated the environment variables (PY_PYTHON and Path) to point to v3.11, as well as the registry setting Computer\HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command, but still no joy.
Anyone any idea what else might be affecting this?