输入命令
conda install -c https://conda.binstar.org/menpo opencv
或者
conda install -c https://conda.binstar.org/menpo opencv3
直接安装即可
如果遇到错误,提示 CondaError: CondaHTTPError: HTTP None None for url <https://conda.anaconda.......>....之类网页无法解析错误,
添加anaconda镜像源:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
conda install --channel https://conda.anaconda.org/menpo opencv3
即可