YOLO环境搭建报错:module 'cv2' has no attribute 'gapi wip_ gst GStreamerPipeline'

简介: 报错:module 'cv2' has no attribute 'gapi wip_ gst GStreamerPipeline'

报错:module 'cv2' has no attribute 'gapi wip_ gst GStreamerPipeline'
这种情况是opencv版本过高,降一下版本就好了,但是要注意,YOLO要求的opencv版本opencv-python>=4.1.2

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python==4.6.0.66
目录
相关文章
|
6月前
|
计算机视觉 Python
AttributeError: module ‘cv2‘ has no attribute ‘face‘
AttributeError: module ‘cv2‘ has no attribute ‘face‘
127 0
|
8月前
|
机器学习/深度学习 编解码
【论文笔记】图像修复MPRNet:Multi-Stage Progressive Image Restoration 含代码解析2
【论文笔记】图像修复MPRNet:Multi-Stage Progressive Image Restoration 含代码解析
337 2
|
8月前
|
机器学习/深度学习 计算机视觉
【论文笔记】图像修复MPRNet:Multi-Stage Progressive Image Restoration 含代码解析1
【论文笔记】图像修复MPRNet:Multi-Stage Progressive Image Restoration 含代码解析
159 1
|
8月前
|
Shell 计算机视觉 Python
no module named cv2 、numpy 、xxx超全解决方案
no module named cv2 、numpy 、xxx超全解决方案
|
PyTorch 算法框架/工具 Python
AttributeError: module ‘distutils‘ has no attribute ‘version‘解决跑pytorch代码报错
AttributeError: module ‘distutils‘ has no attribute ‘version‘解决跑pytorch代码报错
|
算法 计算机视觉 Python
【完美解决方案】module ‘cv2.cv2‘ has no attribute ‘xfeatures2d‘
【完美解决方案】module ‘cv2.cv2‘ has no attribute ‘xfeatures2d‘
1359 0
|
TensorFlow 算法框架/工具
TensorFlow修改图像尺寸:AttributeError: module ‘tensorflow._api.v2.image‘ has no attribute ‘image‘
TensorFlow修改图像尺寸:AttributeError: module ‘tensorflow._api.v2.image‘ has no attribute ‘image‘
142 0
TensorFlow修改图像尺寸:AttributeError: module ‘tensorflow._api.v2.image‘ has no attribute ‘image‘
|
TensorFlow API 算法框架/工具
解决AttributeError: module ‘tensorflow‘ has no attribute ‘div‘
解决AttributeError: module ‘tensorflow‘ has no attribute ‘div‘
179 0
解决AttributeError: module ‘tensorflow‘ has no attribute ‘div‘
|
计算机视觉
opencv-contrib-Python编译module ‘cv2.cv2‘ has no attribute ‘xfeatures2d‘
opencv-contrib-Python编译module ‘cv2.cv2‘ has no attribute ‘xfeatures2d‘
187 0
|
计算机视觉
AttributeError: module 'cv2' has no attribute 'xfeatures2d'问题解决
AttributeError: module 'cv2' has no attribute 'xfeatures2d'问题解决
3287 0