【问题标题】:Unable to install gdc-client in the conda environmentconda环境下无法安装gdc-client
【发布时间】:2021-10-27 07:01:24
【问题描述】:

我想在 conda 环境中从 GDC 门户下载一组图像文件。

我想做这样的事情:

conda install -c bioconda gdc-client
gdc-client download -m  /home/melissachua/CODEX/gdc_manifest_20211027_035232

错误信息:

> Collecting package metadata (current_repodata.json): done Solving
> environment: failed with initial frozen solve. Retrying with flexible
> solve. Solving environment: failed with repodata from
> current_repodata.json, will retry with next repodata source.
> Collecting package metadata (repodata.json): done Solving environment:
> failed with initial frozen solve. Retrying with flexible solve.
> Solving environment: | Found conflicts! Looking for incompatible
> packages. This can take several minutes.  Press CTRL-C to abort.
> failed
> 
> UnsatisfiableError: The following specifications were found to be
> incompatible with each other:
> 
> Output in format: Requested package -> Available versionsThe following
> specifications were found to be incompatible with your system:
> 
>   - feature:/linux-64::__glibc==2.31=0
>   - feature:|@/linux-64::__glibc==2.31=0
> 
> Your installed version is: 2.31

【问题讨论】:

    标签: conda


    【解决方案1】:

    这样的错误是由与您环境中已有的包冲突引起的。一个简单的解决方法是创建一个环境来安装 gdc。为此,您还需要conda-forge 频道:

    conda create -n gdc -c bioconda -c conda-forge gdc-client
    conda activate gdc
    gdc-client download -m  /home/melissachua/CODEX/gdc_manifest_20211027_035232
    

    【讨论】:

    • Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: - Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed UnsatisfiableError:
    • 您需要添加-c conda-forge,请参阅我的更新答案。我在我的 linux64 机器上测试了它,它可以工作
    猜你喜欢
    • 2022-01-01
    • 2020-08-18
    • 2021-11-02
    • 2018-07-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多