Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pangolin installation with conda v24.1.2 is failing #541

Open
satya-lalam opened this issue Mar 22, 2024 · 2 comments
Open

Pangolin installation with conda v24.1.2 is failing #541

satya-lalam opened this issue Mar 22, 2024 · 2 comments

Comments

@satya-lalam
Copy link

As suggested in the Pangolin installation documentation, executed the following command with conda v24.1.2
conda install -c bioconda -c conda-forge -c defaults pangolin

Error Output:

Channels:
 - bioconda
 - conda-forge
 - defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides iqtree 1.6.12.* needed by pangolin-1.1-py_0

Could not solve for environment specs
The following packages are incompatible
└─ pangolin is not installable because there are no viable options
   ├─ pangolin [1.1|1.1.5] would require
   │  └─ iqtree 1.6.12.* , which does not exist (perhaps a missing channel);
   ├─ pangolin [1.1.11|1.1.13|...|2.3.0] would require
   │  └─ iqtree <2 , which does not exist (perhaps a missing channel);
   └─ pangolin [2.3.0|2.3.2|...|4.3] would require
      └─ gofasta, which does not exist (perhaps a missing channel).

I assume the Pangolin required package versions for iqtree and gofasta are not available in bioconda channel.

@huzuner
Copy link

huzuner commented Jun 5, 2024

This happens because of channel priorities. The conda-forge should take precedence over bioconda:

mamba install -c conda-forge -c bioconda -c defaults pangolin

You can also use mamba, it's faster.

This should also be changed in the documentation in the webpage.

@wm75
Copy link
Contributor

wm75 commented Jul 9, 2024

Yes, the channel order should get documented correctly.

You can also use mamba, it's faster.

Latest versions of conda are now using libmamba to solve environments so conda instead of mamba should be fine again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants