Discussion:
[conda] Package not found when specifying a specific version of a package
Carlos Guzman
2018-02-20 16:49:00 UTC
Permalink
I am attempting to install a package via Singularity.

I'm running into a weird issue where if I specify a version (such that
conda install -c bioconda package=x.x.x) I get a package not found error,
but if I do not specify a version (such that conda install package) it
installs fine. I have already searched and made sure the version I am
attempting to install does exist.

When I try to install the package with version information (such that conda
install -c bioconda package=x.x.x) on my home computer outside of the
Singularity container (which uses the miniconda3 docker image) that also
works fine.

Error:

+ /opt/conda/bin/conda install -c bioconda --yes snakemake=4.6.0
Solving environment: failed


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


- snakemake=4.6.0
- aioeasywebdav
- snakemake=4.6.0
- google-cloud-storage
- snakemake=4.6.0
- python-irodsclient
- snakemake=4.6.0
- ratelimiter


Current channels:


- https://conda.anaconda.org/bioconda/linux-64
- https://conda.anaconda.org/bioconda/noarch
- https://repo.continuum.io/pkgs/main/linux-64
- https://repo.continuum.io/pkgs/main/noarch
- https://repo.continuum.io/pkgs/free/linux-64
- https://repo.continuum.io/pkgs/free/noarch
- https://repo.continuum.io/pkgs/r/linux-64
- https://repo.continuum.io/pkgs/r/noarch
- https://repo.continuum.io/pkgs/pro/linux-64
- https://repo.continuum.io/pkgs/pro/noarch


ABORT: Aborting with RETVAL=255
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/6c8616ff-3901-4b63-9dab-9af9adc11660%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Carlos Guzman
2018-02-20 17:11:54 UTC
Permalink
If you add the channels prior to conda install, this works fine:

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


conda install --yes snakemake=4.6.0
Post by Carlos Guzman
I am attempting to install a package via Singularity.
I'm running into a weird issue where if I specify a version (such that
conda install -c bioconda package=x.x.x) I get a package not found error,
but if I do not specify a version (such that conda install package) it
installs fine. I have already searched and made sure the version I am
attempting to install does exist.
When I try to install the package with version information (such that
conda install -c bioconda package=x.x.x) on my home computer outside of the
Singularity container (which uses the miniconda3 docker image) that also
works fine.
+ /opt/conda/bin/conda install -c bioconda --yes snakemake=4.6.0
Solving environment: failed
PackagesNotFoundError: The following packages are not available from
- snakemake=4.6.0
- aioeasywebdav
- snakemake=4.6.0
- google-cloud-storage
- snakemake=4.6.0
- python-irodsclient
- snakemake=4.6.0
- ratelimiter
- https://conda.anaconda.org/bioconda/linux-64
- https://conda.anaconda.org/bioconda/noarch
- https://repo.continuum.io/pkgs/main/linux-64
- https://repo.continuum.io/pkgs/main/noarch
- https://repo.continuum.io/pkgs/free/linux-64
- https://repo.continuum.io/pkgs/free/noarch
- https://repo.continuum.io/pkgs/r/linux-64
- https://repo.continuum.io/pkgs/r/noarch
- https://repo.continuum.io/pkgs/pro/linux-64
- https://repo.continuum.io/pkgs/pro/noarch
ABORT: Aborting with RETVAL=255
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/317256c0-7120-4813-ad8b-3686e7f6d447%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...