conda命令-安装opencv

1.添加清华镜像源(参考网址:https://jingyan.baidu.com/article/1876c8527be1c3890a137645.html)

(注:windows下网址不需要单引号括起来,否则会出错)

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
conda info
conda install scrapy

conda命令-安装opencv_第1张图片

2.conda换回默认源

conda config --remove-key channels
3.安装opencv

方法一:https://www.cnblogs.com/MrLJC/p/4245925.html

conda install -c https://conda.binstar.org/menpo opencv
但是提示需要python2.7,而不是python3.5,有冲突。

方法二:https://stackoverflow.com/questions/23119413/how-do-i-install-python-opencv-through-conda

conda install --channel https://conda.anaconda.org/menpo opencv3
(注意是import cv2)



你可能感兴趣的:(Conda)