如何理解,跟踪和解决Conda程序包冲突

时间:2018-08-20 19:05:43

标签: r conda bioconductor miniconda r-base

在第一次尝试创建环境时,似乎需要r-base=3.3.1。但是,可以使用r-base=3.4.1。要使r-base=3.5工作,我该怎么办?也许更新其中一种生物导体包装的配方?哪一个?

lab@conda-test:~$ cat .condarc
channels:
  - bioconda
  - conda-forge
  - defaults
lab@conda-test:~$ conda create -n r35 r-base=3.5 bioconductor-dada2
Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - bioconductor-dada2 -> bioconductor-biostrings[version='>=2.32.1'] -> bioconductor-biocgenerics[version='>=0.15.6'] -> r=3.3.1 -> r-base==3.3.1
  - r-base=3.5
Use "conda info <package>" to see the dependencies for each package.
lab@conda-test:~$ conda create -n r35 r-base=3.4.1 bioconductor-dada2
Solving environment: done

## Package Plan ##

  environment location: /home/lab/conda/envs/r35

  added / updated specs:
    - bioconductor-dada2
    - r-base=3.4.1


The following NEW packages will be INSTALLED:

    bioconductor-biobase:              2.38.0-r3.4.1_0          bioconda
    bioconductor-biocgenerics:         0.24.0-r3.4.1_0          bioconda
    bioconductor-biocparallel:         1.12.0-r3.4.1_0          bioconda
    bioconductor-biostrings:           2.46.0-r3.4.1_0          bioconda
    bioconductor-dada2:                1.6.0-r3.4.1_0           bioconda
       ...
       ...
       ...

0 个答案:

没有答案