新安装Ubuntu20.04的系统上只有python3.8,需要3.6版本,简单的记录一下安装过程
首先可以查看以下已有的python版本
python3 --version
添加python软件源
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
安装3.6版本并查看
sudo apt install python3.6
python3.6 -V