1.先下个conda,python 3.10.9
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2023.03-1-Windows-x86_64.exe
2.安装opencv-python
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
3.验证,我使用的版本是4.7.0
import cv2 cv2.__version__
本文为看恩吧原创文章,转载无需和我联系,但请注明来自knsay.com