原文:記錄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 python . dist packages cv qt plugins even though it was found 原因是你的python中opencv版本過高將opencv python版本 由 . 下降為 . . . ...

2021-12-02 15:47 0 1037 推薦指數:

查看詳情

qt.qpa.plugin Could not load the Qt platform plugin xcb

運行python 代碼, 遇到標題中的報錯。原來以為是qt的問題,嘗試了baidu和bing各種辦法都無濟於事。 后來終於參考某網頁,把opencv-python版本 由 4.5 下降為 4.3.0.36 ,問題解決。 這已經是第二次由於opencv版本造成問題了。 ...

Sat Feb 20 19:45:00 CST 2021 0 1578
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM