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
I guess
http://answers.opencv.org/question/17536/install-opencv-for-anaconda-ipython/
it would be an answer
If you compile OpenCV from source, and Anaconda is your default python interpretor
(CMake rule PYTHON_PACKAGES_PATH = C:\Anaconda\Lib\site-packages),
then the install rule will copy cv2.pyd to C:\Anaconda\Lib\site-packages.
Otherwise, you could do it manually, and make sure OpenCV libs are in the PATH.
Still I don't know what is CMake rule(?) and "install rule".
Anaconda Python OpenCV-----------------
Run the following command:
conda install -c https://conda.binstar.org/menpo opencv
I realized that opencv3 is also available now, run the following command:
conda install -c https://conda.binstar.org/menpo opencv3
Edit on Aug 18, 2016: You may like to add the "menpo" channel permanently by:
conda config --add channels menpo
And then opencv can be installed by:
conda install opencv(or opencv3)
Edit on Aug 14, 2017: "clinicalgraphics" channel provides relatively newer vtk version for very recent python3
conda install -c clinicalgraphics vtk
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.