在Ubuntu上管理Python版本,主要有以下幾種方法:
apt
sudo apt update
sudo apt install python3.x
pyenv global
pyenv local
pyenv shell