import cv2
运行报错: module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline'
最好的办法就是:
先卸载:pip uninstall opencv-python
再安装:pip install opencv-python install "opencv-python-headless<4.3"
import cv2
运行报错: module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline'
最好的办法就是:
先卸载:pip uninstall opencv-python
再安装:pip install opencv-python install "opencv-python-headless<4.3"