修改默认python版本


yum install python3
alternatives --install /usr/bin/python python /usr/bin/python2 1
alternatives --install /usr/bin/python python /usr/bin/python3 2

# 选择版本
alternatives --config python

文章作者: 张一雄
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 张一雄 !
  目录