转自https://blog.csdn.net/xulingqiang/article/details/52494410
1.删除/usr/bin 下的Python链接
sudo rm /usr/bin/python
2. 用下面命令建立新的链接
sudo ln -s /usr/bin/python3.5 /usr/bin/python
3.用下面的命令还原2.7版本(先做步骤1的删除命令)
sudo ln -s /usr/bin/python2.7 /usr/bin/python
转自https://blog.csdn.net/xulingqiang/article/details/52494410
1.删除/usr/bin 下的Python链接
sudo rm /usr/bin/python
2. 用下面命令建立新的链接
sudo ln -s /usr/bin/python3.5 /usr/bin/python
3.用下面的命令还原2.7版本(先做步骤1的删除命令)
sudo ln -s /usr/bin/python2.7 /usr/bin/python