Directory (?) [+] 1. General means
Install Python, and related packages (NumPy, matplotlib)
Installing OPENCV
Copy cv2.pyd file
Copy the Cv2.pyd from the D:\opencv3.0\opencv\build\python\2.7\x86 path to the D:\Python26\Lib\site-packages
Test
>>> Import Cv2
>>> cv2.__version__
2. Anaconda
This approach does not work under the Anaconda Python Development Kit. It is more feasible to test by typing at the command line:
Conda Install--channel Https://conda.anaconda.org/menpo opencv3
1 1
Then follow the prompts to enter some simple commands such as [y]\n? Enter Y and wait for the update to install. 3. Installing using the WHL file
Install OpenCV 3 with Python 3 on Windows
Go to website http://www.lfd.uci.edu/~gohlke/pythonlibs/and download OpenCV files that are compatible with your current environment, such as Opencv_python-3.2.0-cp35-cp35m-win_ AMD64.WHL, switch to the directory where the file is located and use it in the command-line environment:
Pip Install OPENCV_PYTHON-3.2.0-CP35-CP35M-WIN_AMD64.WHL
1 1
For installation. References
[1] Py_setup_in_windows
[2] How to install Python OpenCV through Conda?
Source: http://blog.csdn.net/lanchunhui/article/details/49717535