ubuntu下anaconda中安装opencv无法使用cv2.imshow等

错误提示:

error:
/tmp/build/80754af9/opencv_1512687413662/work/modules/highgui/src/window.cpp:611:
error: (-2) The function is not implemented. Rebuild the library with
Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian,
install libgtk2.0-dev and pkg-config, then re-run cmake or configure
script in function cvShowImage

解决方法

在pycharm中相应环境terminal下
conda remove opencv
conda install -c menpo opencv
pip install --upgrade pip
pip install opencv-contrib-python
ubuntu下anaconda中安装opencv无法使用cv2.imshow等

相关文章:

  • 2022-03-06
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2021-07-27
  • 2021-07-06
猜你喜欢
  • 2021-08-03
  • 2021-04-04
  • 2021-10-21
  • 2021-06-04
  • 2021-10-20
  • 2021-06-07
  • 2021-05-27
相关资源
相似解决方案