pip下载OpenCV2
你需要执行下面的代码(安装好python环境)
pip install opencv-python
如果你下载成功,会有下列输出
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple
Requirement already satisfied: opencv-python in c:\python312\lib\site-packages (4.10.0.84)
Requirement already satisfied: numpy>=1.21.2 in c:\python312\lib\site-packages (from opencv-python) (1.26.4)
pip3 install opencv-python
镜像源:USTC—https://pypi.mirrors.ustc.edu.cn/simple
o((ミ゚エ゚ミ))o