Anaconda Package Installation:
Install --channel https://Conda.anaconda.org/menpo opencv3
Verify:
Import cv2>>> cv2. __version__ ' 3.2.0 '
Note: This installation method only supports Python2.
How to install under Windows:
Win under Python Library resource Collection
1.download the required version and note the corresponding version number:
Opencv_python-3.1.0-cp35-cp35m-win_amd64.whl
2. Use cmd to enter the directory of downloaded files, installation instructions:
3. after the d:\python35\lib\site-packages in that heap of OpenCV DLLs put in a new folder named Cv2   This one, can also not operate. I modified the cv2.py before. Later found that as long as the pre-installed VS2015 plug-in, do not do this step will not error.
Errors You may encounter:
DLL load failed: The specified module could not be found
This is because of parsing errors on the DLL, which requires downloading a dependency:
Visual C + + redistribution package https://www.microsoft.com/en-us/download/d etails.aspx?id=48145
as follows:
"Python" Computer Vision _OPENCV3 Library installation