conda 创建新环境下载包失败
2021-01-24 16:38 钱先生 阅读(337) 评论(0) 编辑 收藏 举报转自; https://blog.csdn.net/u011939755/article/details/80863227?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1.control
command executed: conda create --n p3 python=3.5 numpy pandas
error: Condahttperror: HTTP 000 CONNECTION FAILED for url
解决:
找到C:\Users\username\.condarc
修改内容为:
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
show_channel_urls: true