
sudo update-alternatives -install /usr/bin/python3 python3 /usr/bin/python3.8 1 If you have multiple versions installed, you just need to cd to /usr/bin, check what the path names are, and then use update-alternatives to configure which version is the default. Changing version of Python3Ĭhanging the version associated to python3 is pretty easy to find instructions about. This guide describes the process for Ubuntu 18.04.4 LTS. This proved nontrivial and totally undocumented anywhere I searched, so here’s an explanation of what I did so that I have a reference of what to do for next time, yay! I wanted to change my Python version associated with pip from 3.5 to 3.8.
