在 macOS High Sierra 上安装 OpenCV with Python 3 时出现问题



我尝试在我的Mac上安装带有自制软件的opencv3。我跑过:

$ brew install opencv3 --with-contrib --with-python3 --HEAD

当我输入此命令时,已安装opencv,但它说:

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!

我注意到opencv可以在python 2中工作,但我希望它也可以在python 3中工作。

我正在使用python 3.6。

我遇到了同样的问题,并使用conda-forge解决了它 https://github.com/conda-forge/opencv-feedstock

Conda 配置 --Add Channels Conda-forge

康达安装奥普赛

最新更新