ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)

python3.6安装opencv报错:

直接在pycharm中的File->Setting中搜索cv2进行安装cv2会报错,如图:

ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)_第1张图片

一、如果报错pip版本问题,则应该执行命令:

python3 -m pip install --upgrade pip
二、如果pip安装成功还报错:

ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)

解决方案:

不能直接搜索cv安装,而应该搜索opencv-python进行安装

参考文章

https://cloud.tencent.com/developer/ask/188024

你可能感兴趣的:(ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none))