我是win10 pyCharm 2022 pyhon3.9
解决方法:
一、卸载 opencv-python-headless
二、重新安装opencv-python
同类问题讨论参考:
python - error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support - Stack Overflow