記錄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