I tried to install OpenCV on Anaconda
pip install cv2
pip install opencv
conda install opencv
conda install -c https://conda.binstar.org/jjhelmus opencv
(refered here Anaconda doesn't find module cv2)
but all failed. Does anybody know how to install this?
I guess
http://answers.opencv.org/question/17536/install-opencv-for-anaconda-ipython/
it would be an answer
Still I don't know what is CMake rule(?) and "install rule".
Run the following command:
I realized that opencv3 is also available now, run the following command:
Edit on Aug 18, 2016: You may like to add the "menpo" channel permanently by:
And then opencv can be installed by:
Edit on Aug 14, 2017: "clinicalgraphics" channel provides relatively newer vtk version for very recent python3
Firstly go to your anaconda folder. The path in my case was - C:\Users.....\Anaconda3 . Then go to the Scripts folder. Open this link- http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv . Download this file - opencv_python-3.2.0-cp36-cp36m-win_amd64.whl from the link and copy paste it into your Scripts folder inside Anaconda3 folder. Now go to spyder and type this, import cv2 If everything works out it wont show any error and congrats you just installed it successfully.