当前位置:网站首页>No module named 'pyqt5 QtMultimedia‘
No module named 'pyqt5 QtMultimedia‘
2022-06-30 06:41:00 【Mnnk】
solve :How can I add a missing PyQt5 modules on Raspberry Pi
If you installed the Raspbian pyqt5-dev and pyqt5-dev-tools packages, this will only provide the core PyQt5 modules like QtCore, QtGui, QtWidgets, etc. For other modules like QtMultimedia, you must install separate packages.
If you go to the Raspbian Connect Package List, and look in the Python Packages section, you will find the following extra packages:
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
So just use apt-get to install whatever else you need.
Install the corresponding module from the command line :
sudo apt-get install python3-pyqt5.qtmultimedia
If playing video positionChanged() Only return 0, Maybe the corresponding decoder is missing , such as H264
边栏推荐
- 1.6 - CPU组成
- The most complete sentence in history
- Hao looking for a job
- IO stream (file class introduction)
- Px4 control mode summary
- Introduction to programming ape (11) -- structure
- Software tools_ Shortcut_ Operation summary
- Improve simulation speed during ROS and Px4 joint simulation
- SOC_SD_CLK
- Base64 explanation: playing with pictures Base64 encoding
猜你喜欢
随机推荐
Unable to access the Internet at win10 /11 hotspot
Uniapp wechat applet returns to the previous page and refreshes
Graphic octet, really top
A complete performance test process
Altium designer creates multiple class networks to realize different lineweights of multiple networks
To: k210 realizes face recognition (code interpretation attached)
Is it safe to open an account online? Can you open an account to speculate on the Internet?
c# - C#用fo-dicom对CT图像的PixelData进行处理和转换
MySQL中的InnoDB引擎
Bat 使用细节2
RT thread Kernel Implementation (I): threads and scheduling
Why does the verification code not refresh when clicked
Fastapi learning Day1
Is Huatai stock trading safe? I want to open an account online.
圖像處理7-圖像增强
InnoDB engine in MySQL
与MQTT的初定情缘
相关数据库问题提问。
[untitled]
Fastapi learning Day2








