(1) import cv2
报错,报错信息是ImportError: libSM.so.6: cannot open shared object file: No such file or directory
,google了好久,找到一个可用的:
pip install opencv-python-headless
【1】
(2) no model named cv
,解决方法:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python