For those on Windows who don’t want to mess with building OpenCV 3.0 from source, Christoph Gohlke maintains Windows binaries for many Python packages, including OpenCV 3.0 with Python 3.x bindings! See here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
To install, just download the 64-bit or 32-bit .whl
file appropriate for your system, then run pip install [filename]
. Then the instruction import cv2
should work in your Python 3.x interpreter.