anaconda安装后conda指令无法连接网络

来源:互联网 发布:花千骨小说网络贴吧 编辑:程序博客网 时间:2024/06/07 23:12

anaconda环境配好之后,想使用conda update numpy,但是终端返回:CondaHTTPError: HTTP None None for url <None>

在清华的水木社区发现了答案:http://alumni.newsmth.net/nForum/#!article/Python/135603

https://mirror.tuna.tsinghua.edu.cn/help/anaconda/

通过指令:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --set show_channel_urls yes
OK了!

1 1
原创粉丝点击