直接执行命令:
sudo apt-get install python3
将python3设置为默python版本:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150
原文:http://www.cnblogs.com/xiepingfu/p/7400266.html
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!