尝试使用 Conda 安装 R 时出错

尝试使用 Conda 安装 R 时出错

当我尝试在我的 conda 环境中安装 R 基础包时出现错误,如下所示:

[user@host ~]$ conda install r r-essentials
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Initial quick solve with frozen env failed.  Unfreezing env and trying again.
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: - failed

这是我的输出conda info

active environment : None
       user config file : /home/user/.condarc
 populated config files : /home/user/.condarc
          conda version : 4.7.10
    conda-build version : not installed
         python version : 3.7.3.final.0
       virtual packages : 
       base environment : /opt/miniconda  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/miniconda/pkgs
                          /home/user/.conda/pkgs
       envs directories : /opt/miniconda/envs
                          /home/user/.conda/envs
               platform : linux-64
             user-agent : conda/4.7.10 requests/2.22.0 CPython/3.7.3 Linux/5.2.2-arch1-1-ARCH arch/rolling glibc/2.29
                UID:GID : 1000:985
             netrc file : None
           offline mode : False

频道 URL 似乎很健康,它们指向正确的带有软件包的存储库。我在 conda 中安装与 Python 相关的软件包没有问题,只在 R 中看到这个问题。这可能是什么原因造成的?

谢谢。

答案1

这可能是 conda 包管理器本身的错误。将 conda 更新至 v. 4.7.11 后,上述行为立即停止。

相关内容