bacpop / PopPUNK

PopPUNK 👨‍🎤 (POPulation Partitioning Using Nucleotide Kmers)
https://www.bacpop.org/poppunk
Apache License 2.0
91 stars 18 forks source link

conda install fails #223

Closed chahatupreti closed 2 years ago

chahatupreti commented 2 years ago

I am trying to install poppunk using conda. However, it fails every time I do it and I have tried it on two different computers.

Command used -

conda create -n poppunk
conda activate poppunk
conda install -c bioconda poppunk

Output - image

And it keeps getting stuck at Solving Environment. I have also tried simply conda install poppunk but that too gave the same result.

Please let me know what I may be doing wrong. I have tried this on a Mac and Ubuntu.

Thanks!

johnlees commented 2 years ago

This may be due to the channel order, see the guide here: https://poppunk.readthedocs.io/en/latest/installation.html#installing-with-conda-recommended

so try running:

conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda install poppunk
chahatupreti commented 2 years ago

That worked! I thought I had tried that but evidently not. Thank you so much!