Problem
Recently Anaconda launched the Python3.6, installed its own version, but after installation found that installation Opencv3 not as simple as the Python3.5 version of the installation Opencv3, previously installed opencv3 only need Conda Install–channel Https://conda.anaconda.org/menpo opencv3 This command, now installed on the Python3.6, use this command will report the following error:
Unsatisfiableerror:the following specifications were found to is in conflict:
-Opencv3-> python 2.7*
-Python 3.6* solution:
Method One: Execute Conda install python=3.5 First, then perform Conda install-c Menpo The method is back to Opencv3. 5 version, it would be better to download the anaconda4.2 version in the beginning, itself is Python3. 5, directly apply Conda install-c Menpo opencv3 command to install OPENCV3.
Method Two: According to install the version of Python download the corresponding OpenCV *.WHL file, the author is python3.6, so the corresponding is Opencv_python‑3.2.0‑cp36‑cp36m‑win_ AMD64.WHL This file, download the URL is: http://www.lfd.uci.edu/~gohlke/pythonlibs/,
After the download, copy the file to the D:\Program files\anaconda3\lib\site-packages folder (Anaconda installation path, everyone's different, to be based on their own installation path changes), under the file hold shift to build + right mouse button, out of a dialog box, select ' Open Command Window here ' to open Doc window, then perform pip install OPENCV_PYTHON‑3.2.0‑CP36‑CP36M‑WIN_AMD64.WHL install OPENCV3, execute, Shows that the successful installation of opencv-python‑3.2.0 should be fine.