qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “/home/bit/.local/lib/python3.5/site-packages/cv2/qt/plugins” even though it was found.
pyqt5安装过程中的问题
出现错误
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “/home/bit/.local/lib/python3.5/site-packages/cv2/qt/plugins” even though it was found.
- 可以看到是opencv配置出现问题
- 运行代码 pip install opencv-python-headless 即可。