对应Python3.7.6的版本可以参考
https://stackoverflow.com/questions/54297627/qt-could-not-find-the-platform-plugin-cocoa
中下载opencv-python-headless解决。
像这句话:
If you are on a mac, make sure you install opencv-python-headless instead of opencv-python to avoid these errors.
Github关于这个问题的issue