本文介绍了我们如何在anaconda上安装opencv?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Anaconda上安装OpenCV

I tried to install OpenCV on Anaconda

pip install cv2
pip install opencv
conda install opencv
conda install -c https://conda.binstar.org/jjhelmus opencv

(在此处 Anaconda找不到模块cv2 )

,但全部失败.有人知道如何安装吗?

but all failed. Does anybody know how to install this?

推荐答案

运行以下命令:

conda install -c https://conda.binstar.org/menpo opencv

我意识到opencv3现在也可用,运行以​​下命令:

I realized that opencv3 is also available now, run the following command:

conda install -c https://conda.binstar.org/menpo opencv3

2016年8月18日修改:您可能想通过以下方式永久添加"menpo"频道:

Edit on Aug 18, 2016:You may like to add the "menpo" channel permanently by:

conda config --add channels menpo

然后可以通过以下方式安装opencv:

And then opencv can be installed by:

conda install opencv(or opencv3)

2017年8月14日修改:" clinicalgraphics "频道为最近的python3提供了相对较新的vtk版本

Edit on Aug 14, 2017:"clinicalgraphics" channel provides relatively newer vtk version for very recent python3

conda install -c clinicalgraphics vtk

这篇关于我们如何在anaconda上安装opencv?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 04:07