记录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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM