下载各个版本opencv for python的国内源

opencv-python

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

我这里是python2.7版本的,想要下载opencv3.1,可以先下载下来安装,也可以命令行里带清华源代码

1】pip install opencv_python-3.1.0.5-cp27-cp27m-manylinux1_x86_64.whl

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

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

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

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

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

猜你喜欢

转载自blog.csdn.net/LemonShy2019/article/details/114919203
今日推荐