树莓派系统安装PyQt5

由于项目中需要使用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

  

原文地址:https://www.cnblogs.com/rnckty/p/14336089.html