Ubuntu下安裝Python主要有以下幾種方法:
sudo apt update
sudo apt install python3
python3.x --version
pyenv install
pyenv global
pyenv local