How to Change the Default Python Version to Python 3.9 ...
www.skillsugar.com › how-to-change-the-defaultDec 17, 2020 · 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* Now run the following commands changing the version numbers to suit what you have. sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1