1.conda创建虚拟环境
conda create --name opencv3.7 python=3.7
2.激活虚拟环境
conda activate opencv3.7
?3.安装 opencv
pip install -i https://pypi.mirrors.ustc.edu.cn/simple/ opencv-python==3.4.2.16
python3.7安装opencv python 和 opencv-contrib-python的相关问题_opencv-contrib-python和opencv-python-CSDN博客
pip install -i https://pypi.mirrors.ustc.edu.cn/simple/ opencv-contrib-python==3.4.2.16