[Solved] AttributeError: partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' (most likely due to a circular import)
Python
Mohit Mozumder
Problem:
When I am trying to import from cv2 I am facing the following error
AttributeError: partially initialized module 'cv2' has
no attribute 'gapi_wip_gst_GStreamerPipeline'
(most likely due to a circular import)
Solution:
To solve the problem you can just downgrade opencv. you can follow this command-
pip install opencv-python==4.5.5.64
or-
you can update Opencv by this command-
pip install opencv-python==4.6.0.66
Thank you for reading the article. if you face any further problem feel free to ask us.