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

  成功啦、、、、

pip install cv2 安装报错

相关文章:

  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-05-12
  • 2021-05-29
猜你喜欢
  • 2021-08-16
  • 2022-12-23
  • 2021-08-02
  • 2022-01-18
  • 2021-11-02
  • 2022-12-23
  • 2021-07-09
相关资源
相似解决方案