Tried searching with several strategies but am not finding an effective answer. I just installed Python-3.11.5 to a directory under my “home” directory. When I am in Terminal and type
me@mine:~/Python-3.11.5$ python3 --version
Python 3.6.9
I see no update of the default version number and attempting to use programs that depend on Python v3.7 or above fail. But I have not yet found the correct parameter to alter to get the new version recognized, despite it’s presence if I invoke it by minor version directly
me@mine:~/Python-3.11.5$ python3
Python 3.6.9 (default, Jun 29 2022, 11:45:57)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
me@mine:~/Python-3.11.5$ python3.11
Python 3.11.5 (main, Aug 27 2023, 13:48:30) [GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
So how can I change the default for python 3 to be 3.11?