安装opencv python ubuntu
离线安装
下载地址:
https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/opencv-python/
https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/opencv-contrib-python/
选择合适的版本
opencv_contrib_python-3.4.11.43-cp37-cp37m-manylinux2014_x86_64.whl
opencv_python-3.4.11.43-cp37-cp37m-manylinux2014_x86_64.whl
直接用
pip install xxx.whl
就可以完成安装
测试
import cv2
print(cv2.__version__)