天天看点

AttributeError: module ‘cv2‘ has no attribute ‘face‘

- 1.pip uninstall opencv-python
 - 2.pip uninstall opencv-contrib-python
 - 3.pip install opencv-python
 - 4.pip install opencv-contrib-python
问题即可得到解决,面对pip下载速度慢的问题,前边的博客有解决方案,可以使用清华的镜像