前言
很多人说openCV只支持python2.7版本,但是其实是支持python3以上的版本的。我的环境是Anaconda。
安装
安装出错可能是因为用了pip安装,而最新python在pip库没有匹配的版本,所以使用pip安装会报错,大致错误信息可能如下:
Could not find a version that satisfies the requirement opencv (from versions: )
No matching distribution found for opencv
Could not find a version that satisfies the requirement opencv (from versions: )
No matching distribution found for opencv
因此需要自己手动下载,链接点这里
下载自己需要的版本,我的是红框框出来的版本。大家下载前注意下自己的python版本就好。
</