python The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support

我是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

你可能感兴趣的:(图像识别,python,opencv)