报错如下:
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