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

Not possible to install from conda package #79

Open
stevekm opened this issue Sep 12, 2023 · 1 comment
Open

Not possible to install from conda package #79

stevekm opened this issue Sep 12, 2023 · 1 comment

Comments

@stevekm
Copy link

stevekm commented Sep 12, 2023

Every version of conda and Python that I try gives the same error

$ cat Dockerfile
FROM continuumio/miniconda3:23.5.2-0
RUN conda install -c bioconda r-sceasy

$ docker build -t test .
Sending build context to Docker daemon  4.096kB
Step 1/2 : FROM continuumio/miniconda3:23.5.2-0
 ---> a101d1f8cd1c
Step 2/2 : RUN conda install -c bioconda r-sceasy
 ---> Running in a9d9013131bc
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: ...working... unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: ...working...
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 each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.31=0
  - feature:|@/linux-64::__glibc==2.31=0

Your installed version is: 2.31


The command '/bin/sh -c conda install -c bioconda r-sceasy' returned a non-zero code: 1

How do you get this installed with conda? Thanks.

@stevekm
Copy link
Author

stevekm commented Sep 13, 2023

It seems that you are required to use mamba instead of conda to get it installed correctly;

$ cat Dockerfile
FROM condaforge/mambaforge:23.3.1-1
RUN mamba install -c bioconda r-sceasy

# test
 RUN Rscript -e 'library(sceasy)'

This seems to work. Would be great if the conda installation worked though.

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

No branches or pull requests

1 participant