由於項目中需要使用webengine,樹莓派官方系統源或者是阿里雲都沒有raspbian的webengine的庫,只有debian官方源上才有
1、更換debian的國內源
http://mirrors.tuna.tsinghua.edu.cn/debian/
2、安裝
sudo apt-get install -y python3-pyqt5.qt3dcore python3-pyqt5.qt3dinput python3-pyqt5.qt3dlogic python3-pyqt5.qt3drender python3-pyqt5.qtcharts python3-pyqt5.qtconcurrent python3-pyqt5.qtcore python3-pyqt5.qtgui python3-pyqt5.qthelp python3-pyqt5.qtlocation python3-pyqt5.qtmultimedia python3-pyqt5.qtmultimediawidgets python3-pyqt5.qtnetwork python3-pyqt5.qtopengl python3-pyqt5.qtpositioning python3-pyqt5.qtprintsupport python3-pyqt5.qtqml python3-pyqt5.qtquick python3-pyqt5.qtquickwidgets python3-pyqt5.qtscript python3-pyqt5.qtscripttools python3-pyqt5.qtsensors python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qttest python3-pyqt5.qttexttospeech python3-pyqt5.qtuitools python3-pyqt5.qtwebchannel python3-pyqt5.qtwebsockets python3-pyqt5.qtwidgets python3-pyqt5.qtx11extras python3-pyqt5.qtxml python3-pyqt5.qtxmlpatterns python3-pyqt5uic sudo apt-get install -y python3-pyqt5.qtwebengine