我使用的安装代码是
nohup conda install -y sra-tools subread hisat2 multiqc trim-galore &
第一次安装失败,报错:
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- hisat2 -> python[version='3.7.*|3.8.*']
- trim-galore -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|3.4.*']
Your python: anaconda/cloud/conda-forge/linux-64::python==3.11.4=hab00c5b_0_cpython
可以发现原因是我的虚拟环境Python版本太新,因此我用
conda install python=3.7
将Python版本回退,再次执行
nohup conda install -y sra-tools subread hisat2 multiqc trim-galore &
安装成功!