树莓派卸载python3.8
时间: 2023-08-14 20:08:00 浏览: 203
根据引用\[2\]中的内容,非常不建议直接卸载Python 3.8。相反,我们可以通过修改软链接的方式将默认设置更改为Python 3.7。首先,需要删除当前的Python软链接,可以使用以下命令:sudo rm /usr/bin/python。然后,将Python 3.7的软链接添加到/usr/bin/python,可以使用以下命令:sudo ln -s /usr/bin/python3.7 /usr/bin/python。这样就将默认的Python版本设置为Python 3.7了。这种方法可以避免直接卸载Python 3.8,同时保留其他版本的Python。
#### 引用[.reference_title]
- *1* [树莓派自带的python3.9->python3.7](https://blog.csdn.net/xiaokanshijie/article/details/128627306)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [树莓派更换默认python为python3](https://blog.csdn.net/weixin_51331359/article/details/119808719)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [树莓派安装python3.8.3--------2020.07.05建议暂不安装](https://blog.csdn.net/ahmcwt/article/details/106986022)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文