解决 If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvNamedWindow'
2023-09-11 14:14:58 时间
解决
Traceback (most recent call last): File "video_demo.py", line 64, in <module> cv2.namedWindow("result", cv2.WINDOW_AUTOSIZE) cv2.error: OpenCV(3.4.2) /tmp/build/80754af9/opencv-suite_1535558553474/work/modules/highgui/src/window.cpp:615: error: (-2:Unspecified error) 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 'cvNamedWindow'
conda remove opencv conda install -c menpo opencvpip install --upgrade pip
pip install opencv-contrib-python
相关文章
- ON DUPLICATE KEY UPDATE
- Cannot use v-for on stateful component root element because it renders multiple elements
- English trip V2 - 8 Holidays and Birthdays Teacher:Julia Key: at on in
- “Ubuntu on Windows” 初体验
- 在Ubuntu 15.04中安装Ruby on Rails
- flink on yarn的实现及交互过程
- Spring boot 嵌入的tomcat不能启动: Unregistering JMX-exposed beans on shutdown
- cant connect to mysql server on
- 漏洞复现----15、Ruby on Rails 路径穿越与任意文件读取漏洞(CVE-2019-5418)
- Install OpenCV on Ubuntu or Debian
- sqlyog Can't connect to MySQL server on localhost (0)
- 如何修复ubuntu的uefi启动——如何将Ubuntu安装入移动硬盘中
- controller.php Call to a member function fetch() on a non-object问题的解决
- 3. Ubuntu系统中文化、安装中文输入法、解决VNC上ubuntu后无法复制粘贴问题
- How to install php evn on ubuntu
- How to select a OptionSet on ms sqlserver database for Microsoft Dynamics CRM
- Ruby on Rails Session 2: How to install Aptana Studio 3 on Ubuntu 12.04 LTS
- soundtouch源码分析__based on csdn :
- install keepalived on RedHat/CentOS to provide IP failover for web cluster