I installed opencv 3.4.2
from source using this guide
One major change i did was point the python-executable
to my anaconda3 env
python3.6.
The configuration was passed successfully. However, when I activate the anaconda environment and try to import cv2. I get the no module named cv2
still.
But the opencv installed is shown in the conda list
as here:
conda list -n anaconda-env | grep -i cv
Ouptut is :
libopencv 3.4.2 h765d7f9_1
opencv 3.4.2 py36h40b0b35_1
py-opencv 3.4.2 py36h765d7f9_1
Can anyone help me to know whats going wrong ? I am aware anaconda channel has a opencv pacakage. But it has only opencv3.1
The
conda-forge
organization contains one repository for each of the installable packages. Such a repository is known as a feedstock. A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services.
If you want to check the Feedstock for opencv
, it can be found here.
To install a package from conda-forge in a conda environment like anaconda, use : conda install -c conda-forge opencv