如何使用conda为python3安装opencv3?

时间:2017-10-04 06:04:44

标签: python osx opencv anaconda conda

我尝试在mac上安装带有conda的opencv3。不知何故opencv似乎是为python2.7安装的。实际上我用

删除了它
brew uninstall opencv

继承错误

conda install -c menpo opencv3

Fetching package metadata .............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - opencv3 -> python 2.7*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

1 个答案:

答案 0 :(得分:0)

因为我只需要python版本的opencv

pip install opencv-python

工作正常。感谢@Max