How to Change the Default Python Version to Python 3.9 ...
www.skillsugar.com › how-to-change-the-defaultDec 17, 2020 · To update Python to the latest version installed on your system, we can use update-alternatives to change the python shortcut command to point to Python 3.9. Before we do this, we need to add Python 3.9 as an option in update-alternatives. Start by listing all the installed versions of Python 3 so you can choose the version options to add. ls /usr/bin/python3* You may also want to list Python 2.* versions if you want to add one of them as an option: ls /usr/bin/python2*