pip install cv2 安装报错

您所在的位置:网站首页 satisfys pip install cv2 安装报错

pip install cv2 安装报错

#pip install cv2 安装报错| 来源: 网络整理| 查看: 265

pip install cv2 安装报错是一个常见现象:

  ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)  ERROR: No matching distribution found for cv2

解决方案一:

  将CV2更改为opencv-python

  pip install opencv-python

  本方法解决不了则需使用国内的镜像源来加速,克服有时候网络不稳定时的网络问题。

规则:

  pip install 插件名 -i  http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

代码:

pip install opencv-python -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

  成功啦、、、、



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3