Collecting package metadata (current_repodata.json): ...working... 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'
时间: 2024-02-29 12:56:07 浏览: 160
针对Collecting package metadata (current-repodata.json)- faile的解决
5星 · 资源好评率100%
这是一个与使用Anaconda下载包时遇到的问题,错误信息显示连接失败,可能是由于网络问题导致的。建议您先检查网络连接是否正常,然后使用以下命令尝试解决问题:
1. 检查是否有conda更新可用:conda update conda
2. 清除conda缓存:conda clean -a
3. 更改conda源:conda config --set show_channel_urls yes
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
4. 更新conda:conda update --all
如果以上方法都无法解决问题,您可以尝试重新安装Anaconda或者寻求Anaconda的官方支持。
阅读全文