Conda安装时报错“An unexpected error has occurred. Conda has prepared the above report.”

小技巧

第一章 Linux中安装Radian


Conda安装时报错“An unexpected error has occurred. Conda has prepared the above report.”

  • 小技巧
  • 前言
  • 一、Conda安装Radian时报错
  • 二、解决方法


前言

Conda安装Radian时报错“An unexpected error has occurred. Conda has prepared the above report.”怎么解决呢?


提示:以下是本篇文章正文内容,下面案例可供参考

一、Conda安装Radian时报错

Conda安装时报错“An unexpected error has occurred. Conda has prepared the above report.”_第1张图片
Conda安装时报错“An unexpected error has occurred. Conda has prepared the above report.”_第2张图片
Conda安装时报错“An unexpected error has occurred. Conda has prepared the above report.”_第3张图片

二、解决方法

如果有重装过anaconda,在根目录下,会有一个名叫.condarc的文件会自动生成。当使用conda install和conda create命令会出现下面的问题:Collecting package metadata (current_repodata.json): failed

#输入
conda config --show-sources

会出现如下图,运行结果显示.condarc文件在~/.condarc文件夹内
Conda安装时报错“An unexpected error has occurred. Conda has prepared the above report.”_第4张图片

#将该文件删掉
rm -rf ~/.condarc
#再次安装Radian
conda install -c conda-forge radian

就可以看到如下图安装成功的画面啦!
Conda安装时报错“An unexpected error has occurred. Conda has prepared the above report.”_第5张图片


参考来源:https://www.jianshu.com/p/9e76e679d2f8

你可能感兴趣的:(生物信息学分析,python,开发语言,linux,r语言,大数据)