在Mac上为python 3.6安装opencv3 [英] install opencv3 on mac for python 3.6
本文介绍了在Mac上为python 3.6安装opencv3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在macOS Sierra上为python 3.6安装opencv3.我试图通过此链接通过自制程序使用它 http: //www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/但我收到此错误
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
如何解决这个问题?
推荐答案
brew install opencv3 --with-contrib --with-python3 --without-python
这篇关于在Mac上为python 3.6安装opencv3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文