因此,我尝试安装Scran,使用conda install -c bioconda bioconductor-scran
,然后得到如下错误:
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 versions
Package zlib conflicts for: bioconductor-scran -> r-base[version='>=3.6,<3.7.0a0'] -> zlib[version='>=1.2.11,<1.3.0a0'] python=3.8 -> zlib[version='>=1.2.11,<1.3.0a0']
Package ncurses conflicts for: python=3.8 -> ncurses[version='>=6.1,<7.0a0|>=6.2,<7.0a0'] python=3.8 -> readline[version='>=7.0,<8.0a0'] -> ncurses[version='6.0.*|>=6.0,<7.0a0']
Package libgcc-ng conflicts for: python=3.8 -> openssl[version='>=1.1.1k,<1.1.2a'] -> libgcc-ng[version='>=7.2.0|>=9.3.0'] python=3.8 -> libgcc-ng[version='>=7.3.0|>=7.5.0']
Package libstdcxx-ng conflicts for: python=3.8 -> libffi[version='>=3.2.1,<3.3a0'] -> libstdcxx-ng[version='>=7.2.0'] python=3.8 -> libstdcxx-ng[version='>=7.3.0']The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.31=0
- bioconductor-scran -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']
- python=3.8 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.31`
我试过很多方法,但都不管用。我仍然不知道如何修复。谁能帮我个忙吗
避免在同一环境中混合使用Python和R。此外,Bioconda假定以下通道优先级:
尝试为您的Bioconductor工作创建专用环境,并确保固定
r-base
:bioc_r41.yaml
通过以下方式创建环境:
或者,可以使用一个特别的命令来实现这一点,但它相当冗长:
相关问题 更多 >
编程相关推荐