conda install加速

在cmd下执行

conda config --add channels 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/' -f

 

conda config --set show_channel_urls yes

,但是安装其它的时候,不但不能加速,还报错,

把~/.condarc下的文件修改

linux系统代表当前用户的根目录,c:\用户\你的用户名下,一般也只你的cmd命令行最开始的目录,如图:


打开该文件,将三个引号换成单引号即可,如图:


 

 再次运行conda install package,即可提速

猜你喜欢

转载自liangjie18430.iteye.com/blog/2307583