I have tried to install opencv3 with homebrew on my mac. I have run:
$ brew install opencv3 --with-contrib --with-python3 --HEAD
When I enter this command, opencv is installed but it says:
Warning: opencv: this formula has no --with-contrib option so it will be ignored!
Warning: opencv: this formula has no --with-python3 option so it will be ignored!
Warning: opencv: this formula has no --HEAD option so it will be ignored!
I have noticed that opencv will work within python 2 but I would like it to work in python 3 as well.
I am using python 3.6.
I had the same problem and solved it using conda-forge https://github.com/conda-forge/opencv-feedstock
conda config --add channels conda-forge
conda install opencv
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.