How do I install Python OpenCV through Conda?

255

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

I tried

conda install opencv
conda install cv2

I also tried searching

conda search cv

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

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

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.

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?

This question is tagged with python opencv anaconda conda

~ Asked on 2014-04-16 20:23:19

The Best Answer is


233

You can install it using binstar:

conda install -c menpo opencv

~ Answered on 2014-12-25 19:55:25


126

conda install opencv currently works for me on UNIX/python2. This is worth trying first before consulting other solutions.

~ Answered on 2014-11-21 00:30:00


Most Viewed Questions: