win11 安装opencv-python

首先下载python3.7以上版本。installer版本 选择安装pip 添加环境。

cmd 打开终端

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy

你可能感兴趣的:(python)