美文网首页
python如何安装cv2模块

python如何安装cv2模块

作者: 柳华聪 | 来源:发表于2020-08-28 17:32 被阅读0次

       第一次安装cv2 模块的时候可能会犯这样的错误,输入pip(3) install cv2命令后,cv2并没有开始安装,而是返回这样一个错误:

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

这是为什么呢?

其实,cv2的正确安装命令应该是这样的:

pip(3) install opencv-python

输入这个命令后,就可以正确安装cv2模块啦。

相关文章

网友评论

      本文标题:python如何安装cv2模块

      本文链接:https://www.haomeiwen.com/subject/nmolsktx.html