Collecting package metadata (current_repodata.json): failed CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. If your current network has https://www.anaconda.com blocked, please file a support request with your network engineering team. ‘https://repo.anaconda.com/pkgs/main/win-64’
在 powershell 和 cmd 里 conda update --all 报错网络无法连接,
但是在 Anaconda 的图形界面中 却可以更新
由此判断, 这可能是控制台或者系统的问题
我们不妨使用 coda 的专属控制台 Anaconda Prompt 来操作
如下图中一个是基于powershell 一个是基于 powershell
任选一个进入操作即可
这个解决方案同样适合于 在 powershell 或者 cmd 里 使用命令启动 Anaconda 图形界面报错的问题
很明显, 又是因为众所周知的网络原因阻断了…
那解决方案有两种,
一种是挂私服代理
一种接是开源镜像
这里就接清华的镜像了
进入用户目录, 编辑配置文件
vim ~/condarc在 chanel里 加上如下
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/保存关闭即可