OLC-Bioinformatics / ConFindr

Intra-species bacterial contamination detection
https://olc-bioinformatics.github.io/ConFindr/
MIT License
22 stars 8 forks source link

PackagesNotFoundError #15

Closed wjidea closed 5 years ago

wjidea commented 5 years ago

Hi,

I attempted to install ConFindr using conda with the following command

>conda install -c bioconda confindr But, I get the following PackagesNotFound Error.

Collecting package metadata: done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - confindr -> mash[version='>=2'] -> capnproto
  - confindr -> mash[version='>=2'] -> libcblas[version='>=3.8.0,<4.0a0']
  - confindr -> rauth

Wondering if you have a solution to this?

My conda is using Python 3.7.1.

lowandrew commented 5 years ago

My guess is that something is wrong with the channel setup within conda. Have you gotten bioconda set up as detailed at https://bioconda.github.io/#using-bioconda?

For more troubleshooting, can you let me know what the output of conda config --show channels is? You should see something like this:

channels:
  - conda-forge
  - bioconda
  - defaults
wjidea commented 5 years ago

Yes, you are right. I didn't include conda-forge into my channels. I thought -c bioconda was enough. Thank you for your prompt answer.

>conda config --show channels
channels:
  - defaults

I fixed this issue by add conda-forge and bioconda channels into conda config using the following commands:

conda config --add channels bioconda
conda config --add channels conda-forge