出错版本:
python 3.6.4
opencv-python 3.4.0
解决方案
pip uninstall opencv-python
pip install opencv-contrib-python==3.4.1.15
(注:opencv-contrib-python-3.4.3.X 有算法专利保护,SIFT
使用也会报错 )
python 3.6.4
opencv-python 3.4.0
pip uninstall opencv-python
pip install opencv-contrib-python==3.4.1.15
(注:opencv-contrib-python-3.4.3.X 有算法专利保护,SIFT
使用也会报错 )
本文标题:报错:AttributeError: module 'cv2.c
本文链接:https://www.haomeiwen.com/subject/vyhevqtx.html
网友评论