转自:https://blog.csdn.net/zzq060143/article/details/80905741

https://blog.csdn.net/YeziTong/article/details/88233232

遇到的问题:

【AI模型测试】python安装opencv出现如下错误:Could not find a version that satisfies the requirement cv2 (from versions: )

 

 

可能的解决方案:

如题所示在python中安装cv2库是提示不能找到满足需要的版本,我的环境配置是:pycharm+anaconda3,对应的python版本是python3.6,之前想着在pycharm中直接安装的,即打开项目对应的解释器设置模块,然后安装,但是发现安装失败,最后转至用命令安装

 【AI模型测试】python安装opencv出现如下错误:Could not find a version that satisfies the requirement cv2 (from versions: )

 

首先打开终端,直接输入如下命令安装时发现也会提示出错

pip install cv2
最后利用下面的命令安装就成功了,然后你就可以愉快的玩耍了

pip install opencv-python

 

相关文章:

  • 2021-03-31
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2021-11-07
  • 2021-10-19
  • 2021-07-29
  • 2021-12-11
猜你喜欢
  • 2021-06-23
  • 2022-12-23
  • 2021-09-24
  • 2021-06-19
  • 2021-12-16
  • 2021-07-25
相关资源
相似解决方案