conda安装软件时出现
Collecting package metadata (current_repodata.json): failed
...
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
如果有重装过anaconda,在根目录下,会有一个名叫.condarc的文件会自动生成。
当使用conda install和conda create命令会出现下面的问题:Collecting package metadata (current_repodata.json): failed

解决方案:
1.输入下面命令
conda config --show-sources
如图所示,运行结果显示.condarc文件在~/.condarc文件夹内

2.删除.condarc文件
rm -rf ~/.condarc
网友评论