ModuleNotFoundError: No module named 'cv2'

报错找不到cv2包,但是pip也找不到这个包,实际上是opencv的包,使用:

pip install opencv-python

来安装
如果还有报错:ImportError: libSM.so.6: cannot open shared object file: No such file or directory
接下来移步:https://www.jianshu.com/p/937431c20cae

你可能感兴趣的:(ModuleNotFoundError: No module named 'cv2')