ubuntu,设置python3.5为默认版本
1 查看所有可用的版本

2 查看python默认版本

3 使用update-alternatives 修改python版本的优先级
sudo update-alternatives –install /usr/bin/python python /usr/bin/python 3.5 2
注: 2是优先级,数字大排在前面

4 查看python默认版本

© 版权声明
特别提醒: 内容为用户自行发布,如有侵权,请联系我们管理员删除,邮箱:mail@xieniao.com ,在收到您的邮件后我们会在3个工作日内处理。
相关文章
暂无评论...
赣公网安备36020002000448号