import albumentations as A
报错:
cv2‘ has no attribute ‘gapi_wip_gst_GStreamerPipeline
解决方法:
pip3 install --user --upgrade opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
网友的方法是卸载 opencv-contrib-python
uninstall opencv-contrib-python
partially initialized module 'cv2' has no attribute '_registerMatType' (most likely due to a circular import)
解决方法,也是升级一下opencv-python就可以了。
pip3 install --user --upgrade opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
来源地址:https://blog.csdn.net/jacke121/article/details/126666893