DessimozLab / read2tree

a tool for inferring species tree from sequencing reads
MIT License
138 stars 18 forks source link

UnsatisfiableError when installing from conda #32

Closed kodingkoning closed 1 year ago

kodingkoning commented 1 year ago

When I try to install using conda following the instructions in the README, I run into this error. How can I address this to be able to install?

Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using 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.17=0
  - python=3.10.8 -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.17
sinamajidian commented 1 year ago

Hi @kodingkoning Sorry for the inconvenience. You can install read2tree from the source using this instruction after creating a fresh environment

conda create -n read2t python=3.10.8 
conda activate read2t

Please let us know whether it works or not. Best regards, Sina.

mudymudy commented 1 year ago

The simplest way to fix that is using mambaforge instead of conda. Then you can use mamba install instead of conda install and that should work! You can download mambaforge here: https://github.com/conda-forge/miniforge#mambaforge

kodingkoning commented 1 year ago

Once I used mamba instead of conda in the fresh environment, I was able to install. Thanks for your help!