多个版本python的版本切换
作者:互联网
参考:
How to Install Python on CentOS 8 | Linuxize
命令:
yum install python2,python38 -y
切换到python2
alternatives --set python /usr/bin/python2
切换到python3.8
alternatives --set python /usr/bin/python3.8
标签:bin,set,usr,python,alternatives,切换,版本,python2 来源: https://blog.csdn.net/hjmaAsC/article/details/111620325