If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure

 pip uninstall opencv-python-headless

pip install opencv-python

你可能感兴趣的:(opencv)