An unexpected error has occurred. Conda has prepared the above report

今日在服务器上创建anaconda虚拟环境的时候,出现了如下报错

An unexpected error has occurred. Conda has prepared the above report

An unexpected error has occurred. Conda has prepared the above report_第1张图片

 直接上解决方案

在终端中输入如下指令

conda config --show-sources

 如果出现以下提示,说明多了一个文件

An unexpected error has occurred. Conda has prepared the above report_第2张图片

 输入以下指令删掉这个文件

rm -rf ~/.condarc

 随后可以正常完成虚拟环境的创建An unexpected error has occurred. Conda has prepared the above report_第3张图片

你可能感兴趣的:(conda,python,开发语言,pytorch)