安装PYQT5.(树莓派Raspbian下
pip3 install PyQt5
是无法正常安装的。)
https://zhuanlan.zhihu.com/p/498682983
准备工作。
pip install wheel
sudo apt-get update
Pip3 install sip
可直接用官方仓库安装。 sudo apt install -y python3-pyqt5 额外组件 sudo apt install -y python3-pyqt5.qsci python3-pyqt5.qtmultimedia python3-pyqt5.qtopengl python3-pyqt5.qtpositioning python3-pyqt5.qtquick python3-pyqt5.qtsensors python3-pyqt5.qtserialport python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebchannel python3-pyqt5.qtwebkit python3-pyqt5.qtwebsockets python3-pyqt5.qtx11extras python3-pyqt5.qtxmlpatterns 安装pyqtgraph sudo apt install python3-pyqtgraph
|
sudo apt install -y python3-pyqt5.qtchart
[注意]:不能从SSH运行,只能从树莓派直接运行。
标签:树莓,sudo,PYQT5,apt,pyqt5,install,Raspbian,python3 From: https://www.cnblogs.com/cqmcu/p/17635261.html