enter image description hereenter image description here我之前安装过Python IDLE,它是3.7.3版本。我已经尝试过sudo apt upgrade idle
和sudo apt install idle
,看看它是否会更改为3.9版本。有没有办法改变这一点?如果我无能为力,有没有在pi桌面上使用python3.9版本的方法?
发布于 2021-08-02 16:52:09
我以前也遇到过同样的问题。首先,我改用python3,因为raspberry默认使用Python2,你可以访问这个网站:https://learn.sparkfun.com/tutorials/python-programming-tutorial-getting-started-with-the-raspberry-pi/configure-your-pi?fbclid=IwAR1BZqhI3oV55RKaOf0zzDZfQAdf2ZgOZ9XVSZDJHrbTor1ogzxVEf_ztsA
然后你可以更新空闲到Python3.9我推荐访问:https://raspberrytips.com/install-latest-python-raspberry-pi/来完成你的python升级
https://stackoverflow.com/questions/68623548
复制相似问题