本文主要是介绍qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in even though it was found.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
python debug的时候,报错
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “/home/biaoli/anaconda3/envs/openmmlab/lib/python3.8/site-packages/cv2/qt/plugins” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
参考:https://stackoverflow.com/questions/57362015/how-to-fix-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was
装了
pip install opencv-python-headless
这篇关于qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in even though it was found.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!