opencv-python icon indicating copy to clipboard operation
opencv-python copied to clipboard

AttributeError: module 'cv2.gapi' has no attribute 'wip'

Open RefriZaddo opened this issue 1 year ago • 4 comments

Expected behaviour

The script had to RUN to record frames

Actual behaviour

Threw me the error AttributeError: module 'cv2.gapi' has no attribute 'wip'

Steps to reproduce

  1. import cv2
  2. that's it
  • example code: import cv2
  • operating system: Windows 11 Pro 21H2
  • architecture (e.g. x86): x64
  • opencv-python version: 4.8.1.78 (contrib)
Issue submission checklist
  • [x] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
  • [x] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
  • [x] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")
  • [x] I'm using the latest version of opencv-python

RefriZaddo avatar Nov 02 '23 01:11 RefriZaddo

Most probably you have more than one instance of OpenCV-Python installed on your system with different sources. Please check pip list command.

asmorkalov avatar Nov 03 '23 10:11 asmorkalov

Most probably you have more than one instance of OpenCV-Python installed on your system with different sources. Please check pip list command.

Nope, I only have one OpenCV-Python version: opencv-contrib-python version 4.8.1.78

RefriZaddo avatar Nov 06 '23 01:11 RefriZaddo

FWIW I ran into this too just now I was able to get things back to working by simply updating all my pips

parmentelat avatar May 17 '24 09:05 parmentelat

I got the same error today:

AttributeError: module 'cv2.gapi' has no attribute 'wip'

Unable to resolve so far.

StormsHalted avatar Aug 09 '24 18:08 StormsHalted