系统相关
首页 > 系统相关> > ubuntu更新自带的3.6.9到python3.8

ubuntu更新自带的3.6.9到python3.8

作者:互联网

32位机器,没得选 必须18

直接更

 sudo apt install python3.8

提示成功后检查

python3.8 -V

添加默认

which python3.8

然后

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1

配置默认指向3.8

sudo update-alternatives --config python3

参考自

 

标签:bin,sudo,alternatives,3.6,python3.8,ubuntu,python3,usr
来源: https://www.cnblogs.com/jnhs/p/16210084.html