Обновление Python Ubuntu
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.7
Ankur
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.7
sudo apt-get install python3.8
sudo apt install python3.10
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2
sudo update-alternatives --config python3
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update