Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Build OpenCV 4 with reference to Anaconda 'environment'

I recently noticed a couple articles on building OpenCV using a Conda environment, including this one by Zhanwen Chen on

The idea is that instead of referencing the conventional Anaconda folders via OpenCV Cmake-Gui, you'd create an environment via "conda create ...', and reference the resulting environment folders that are created in Anaconda's 'envs' directory.

That particular article is based on Mac, but one would think that it applies to Linux and Windows as well.

Has anyone tried this? It hadn't occurred to me that it would work, but perhaps there are some advantages.