Collecting package metadata (current_repodata.json): failed
ProxyError: Conda cannot proceed due to an error in your proxy configuration.
Check for typos and other configuration errors in any ‘.netrc’ file in your home directory,
any environment variables ending in ‘_PROXY’, and any other system-wide proxy
解决方法
关闭vpn
成功解决~
如果没有
请尝试如下方法:
管理员权限运行anaconda prompt
升级conda:
conda update anaconda-navigator
重置navigator:
anaconda-navigator --reset
升级客户端:
conda update anaconda-client
升级安装依赖包:
conda update -f anaconda-client
再尝试打开anaconda
如果上方出现更新较慢,可以添加镜像源,加快速度:
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
查看是否添加上源了:
conda config --show(看channels属性下是否有上方添加的两个镜像了)
如果镜像失效,删除镜像:
conda config --remove channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/