Install OpenCV 3 with Python 2.7 (macOS) $ brew install python $ python --version Python 2.7.13 $ pip install numpy