报错:mvpartially initialized module ‘cv2‘ has no attribute ‘_registerMatType‘ 解决

报错:mvpartially initialized module ‘cv2‘ has no attribute ‘_registerMatType‘ 解决

原因:版本太高

解决办法:

1、首先卸载:

pip uninstall opencv-python
1
pip uninstall opencv-contrib-python
1
2、只安装低版本的opencv-contrib-python

pip install opencv_python==3.4.10.37
 

你可能感兴趣的:(opencv,python,计算机视觉)