Fork me on GitHub

记录Ubuntu报错:qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.6/dist-packages/cv2/qt/plugins" even though it was found

记录Ubuntu报错:qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.6/dist-packages/cv2/qt/plugins" even though it was found

  • 原因是你的python中opencv版本过高将opencv-python版本 由 4.5 下降为 4.3.0.36
pip3 install opencv-python==4.3.0.36
  • 报错:ImportError: libSM.so.6: cannot open shared object file: No such file or directory
可参照:https://blog.csdn.net/qq_35037684/article/details/106590685
  • cannot connect to X server 问题
可参照:https://www.cnblogs.com/ocean1100/p/12559568.html
posted @ 2021-12-02 15:47  是阿凯啊  阅读(1070)  评论(0编辑  收藏  举报