change py version in colab
# Choose one of the given alternatives: !sudo update-alternatives --config python3 # This one used to work but now NOT(for me)! # !sudo update-alternatives --config python # Check the result !python3 --version # Attention: Install pip (... needed!) !sudo apt install python3-pip
Source: stackoverflow.com