Windows Install OpenCV 3.3 in Python 3.6 / 2.7

Related: Install extra contributed packages to OpenCV 3

Install Python OpenCV 3.3

OpenCV 3.3 works with Python 2.7, 3.4, 3.5 and 3.6. Choose ONE of the following methods:


Anaconda-Server Badge This method works for Linux, Mac and Windows.

conda install -c conda-forge opencv 


This method is Windows specific (because there aren’t official OpenCV 3.3 .whl as of this writing).

  1. Download .whl file (cpMN where you have Python M.N). contrib includes OpenCV-extra packages. For example, assuming you have Python 3.6, you might download opencv_python-3.3.0+contrib-cp36-cp36m-win_amd64.whl
  2. from Command Prompt:
    pip install opencv_python-3*win_amd64.whl

compile source

You can manually compile and install OpenCV for Python 2.7 to Python 3.6. This method allows you to customize and optimize OpenCV for your PC (e.g. using GPU, TBB, OpenCL, etc.).


Python executable selection

If you get the ... is not supported on this platform error be sure you’re not accidentally using Python 2.7 instead of Python 3, you may have to manually specify the path for the pip command e.g.

c:\anaconda3\scripts\pip install opencv_python-3*.whl

Testing the Python OpenCV install

Test scripts to tryout the OpenCV install.

Leave a Comment