How do I install Python OpenCV through Conda? How do I install Python OpenCV through Conda? python python

How do I install Python OpenCV through Conda?


You can install it using binstar:

conda install -c menpo opencv


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


This worked for me (on Ubuntu and conda 3.18.3):

conda install --channel https://conda.anaconda.org/menpo opencv3

The command above was what was shown to me when I ran the following:

anaconda show menpo/opencv3

This was the output:

To install this package with conda run:     conda install --channel https://conda.anaconda.org/menpo opencv3

I tested the following in python without errors:

>>> import cv2>>>