sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150 转载于:https://www.cnblogs.com/demo-deng/p/10774412.html