树莓派升级python的具体步骤

上传:hdongzhang 浏览: 17 推荐: 0 文件:PDF 大小:37.53KB 上传时间:2020-12-22 08:03:18 版权申诉
1、安装 python3 sudo apt install python3 2、卸载 python2.7 (可选) sudo apt remove python 3、再执行如下命令自动清理 python2.7 的依赖 sudo apt autoremove 4、删除掉原先 python 的链接 sudo rm /usr/bin/python 5、创建一个新的链接指向刚刚安装的 python3.5 sudo ln -s /usr/bin/python3.5 /usr/bin/python 内容扩展: 树莓派升级Python至3.6 1.更新树莓派系统 $ sudo apt-
上传资源
用户评论