partially initialized module 'cv2' has no attribute '_registerMatType':
partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline'
我所有docker里的cv2环境报错都这么解决的
pip install "opencv-python-headless<4.3" -i https://pypi.mirrors.ustc.edu.cn/simple