schneebergerlab / syri

Synteny and Rearrangement Identifier
https://schneebergerlab.github.io/syri/
MIT License
303 stars 36 forks source link

conda installation #239

Closed sarah872 closed 3 months ago

sarah872 commented 3 months ago

Hi, I'm running into issues installing syri through conda:

conda create -p PROGRAMS/conda-syri -c bioconda syri
Channels:
 - bioconda
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides pulp needed by syri-1.5.3-py38h3a7dea9_0

Could not solve for environment specs
The following packages are incompatible
└─ syri is not installable because there are no viable options
   ├─ syri [1.5.3|1.5.4|1.6] would require
   │  └─ pulp, which does not exist (perhaps a missing channel);
   └─ syri [1.6|1.6.3] would require
      └─ libgcc-ng >=12 , which does not exist (perhaps a missing channel).
sarah872 commented 3 months ago

OK I could finally install it:

conda create -p 00_software/conda-syri -y
conda activate 00_software/conda-syri
conda install conda-forge::pulp -y
conda install conda-forge::python-igraph -y
conda install conda-forge/label/python_rc::_python_rc -y
conda install python=3.9.0 -y
conda install -c bioconda syri -y
mnshgl0110 commented 3 months ago

Good that it worked. I assume that something changed with how pulp is installed with conda. Thanks a lot for sharing the solution, I am sure it would be helpful to others. As syri got installed I will close the issue.