Ask Your Question

Revision history [back]

How to include 'opencv-python' in Anaconda meta.yaml?

Full disclosure, I'm not really familiar with the intricacies of OpenCV and the various packages available via pip or through conda and its many channels.

I am looking to create a simple Anaconda package that will be used to create consistent environments. When I try to use the 'requirements > run' section of the meta.yaml file for my package to require 'opencv-python', it obviously fails.

Because there are multiple flavors of OpenCV, I'm not sure which (if any) of the packages on Anaconda Cloud I should be using to get the exact same package that I would have otherwise received had I used 'pip install opencv-python' on Python 3.

Hoping that someone more familiar with the different OpenCV Python libraries will be able to help me figure this out!