1.下载烧录镜像。
https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-05-28/这里也可以用一些已经配置好各种环境(如opencv、torch等)的镜像。
2.利用putty打开VNC.
sudo raspi-config Interface Opention VNC 选择Yes Finish
3.打开VNC之后黑屏,需要
Raspberry Pi's 'Cannot Currently Show the Desktop' - 知乎 (zhihu.com)
4.设置python3为默认python
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100# 100为优先级 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150# 150为优先级
5.最好不要更换镜像,因为新版镜像可能无法安装动态链接库。
#当出现缺少动态链接库libcblas.so.3时,处理方法见:https://blog.csdn.net/xiangfengl/article/details/122398829 实际操作为: sudo apt-get install libcblas-dev sudo apt-get install libhdf5-dev sudo apt-get install libhdf5-serial-dev sudo apt-get install libatlas-base-dev sudo apt-get install libjasper-dev sudo apt-get install libqtgui4 sudo apt-get install libqt4-test
6.详情页
https://zhuanlan.zhihu.com/p/446627852
7.镜像备份
https://blog.csdn.net/sinat_16643223/article/details/108346538