1.查看当前版本命令

  Python --version

2.查看当前默认路径

  which Python

3.切换命令

  sudo rm -rf /usr/bin/python

  sudo ln -s /自己要切换的路径 /usr/bin/python

  

相关文章: