如何通过Conda安装Python OpenCV? [英] How do I install Python OpenCV through Conda?

查看:1910
本文介绍了如何通过Conda安装Python OpenCV?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 Anaconda 安装适用于Python的OpenCV,但是我可以似乎还没弄清楚.

I'm trying to install OpenCV for Python through Anaconda, but I can't seem to figure this out.

我尝试过

conda install opencv
conda install cv2

我也尝试搜索

conda search cv

没有雪茄.我遇到了这个问题,其中列出了opencv作为随附的软件包:

No cigar. I ran across this which lists opencv as an included package:

http://docs.continuum.io/anaconda/pkgs.html

运行conda info后,我注意到我的版本是3.4.1,但似乎无法在线找到有关此版本的任何信息.我对此很困惑.

After running conda info I noticed my version is 3.4.1, but I couldn't seem to find any information about this version online. I'm pretty confused about this.

我在这里遗漏了一些很明显的东西吗?如果opencv可用于Anaconda的早期版本,那么为什么它不适用于较新的版本?为何该链接仅向我显示1.9.2版的文档?

Am I missing something pretty obvious here? If opencv was available for a previous version of Anaconda, then why wouldn't it be available for the newer version? And why does that link only show me documentation for version 1.9.2?

推荐答案

您可以使用binstar进行安装:

You can install it using binstar:

conda install -c menpo opencv

这篇关于如何通过Conda安装Python OpenCV?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆