1:win+R打开命令行2:
2:输入(使用国内镜像)
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
3:
4:进入python中输入import cv2未报错即成功
import cv2
1:win+R打开命令行2:
2:输入(使用国内镜像)
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
3:
4:进入python中输入import cv2未报错即成功
import cv2