Search code examples
pythonmacosopencvmacos-sierra

install opencv3 on mac for python 3.6


I want to install opencv3 for python 3.6 on macOS Sierra. I have tried to use it through homebrew using this link http://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/ but I am getting this error

Error: opencv3: Does not support building both Python 2 and 3 wrappers

How to resolve this??


Solution

  • brew install opencv3 --with-contrib --with-python3 --without-python