This article is intended for children's shoes that want to use Python 3 under window, install OpenCV for problematic reference
First, you want to make sure that your Python version is 3.x, enter Python in the Command line window
I'm using Python 3.6.
Second, you need to download and install Microsoft Visual C + + redistributable, and make sure you install the corresponding version of Python
Third, download the corresponding version of the numpy,:http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy, I am using NUMPY-1.13.1+MKL-CP36-CP36M-WIN32.WHL
Iv. download the corresponding version of opencv,:http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv, I am using opencv_ Python-3.3.0-cp36-cp36m-win32.whl
Five, to the directory where you store the above two files, open a command line window, enter the following command to install
Install NUMPY-1.13.1+MKL-CP36-CP36M-WIN32.WHL (the corresponding file name you downloaded here)
Install OPENCV_PYTHON-3.3.0-CP36-CP36M-WIN32.WHL (the corresponding file name you downloaded here)
In the Python command line, enter the following two, if there is no error, it means OK.
Windows Python 3 Installation OpenCV