ubuntu系统怎么查看默认python版本和设置默认版本
1、查看是否配置默认版本
sudo update-alternatives --list python
2、配置默认python版本
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
sudo.............................................................................................python2 2
可以只设置一个