qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""

報錯如下:

qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

這個問題似乎與版本有關,特別是opencv -python to 4.2.0.32
解決辦法 安裝較低版本的oepncv-python

pip3 install opencv-python==4.1.2.30 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章