opencv / opencv-python

Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages.
https://pypi.org/project/opencv-python/
MIT License
4.43k stars 833 forks source link

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

Open RefriZaddo opened 10 months ago

RefriZaddo commented 10 months ago

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
Issue submission checklist
asmorkalov commented 10 months ago

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

RefriZaddo commented 10 months ago

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

parmentelat commented 3 months ago

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

StormsHalted commented 1 month ago

I got the same error today:

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

Unable to resolve so far.