'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' (most likely due to a circular import)
版本兼容性问题。
pip3 install --user --upgrade opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple