denglab / SeqSero2

SeqSero2
Other
33 stars 18 forks source link

bioconda installing SeqSero2 has python version issues #33

Closed evolarjun closed 3 years ago

evolarjun commented 4 years ago

Given the following commands:

bash ./Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/seqsero2-test &> miniconda.out
eval "$(~/seqsero2-test/bin/conda shell.bash hook)";\
        conda config --add channels defaults; \
        conda config --add channels bioconda; \
        conda config --add channels conda-forge; \
        conda install -c bioconda seqsero2=1.1.1 &> conda_install.out

The conda_install.out contains:

Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.

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 the existing python installation in your environment:

Specifications:

  - seqsero2=1.1.1 -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|<3|3.4.*']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
evolarjun commented 3 years ago

This appears to no longer be an issue, SeqSero2 appears to be installing fine for me.