1、删除原来指向python2的软链接
1 rm -rf /usr/bin/python
2、创建新的软链接
1 ln -s /usr/bin/python3.6 /usr/bin/python
3、查看是否更改成功
python -V //若显示版本信息为python3.6,则更改成功