cellgeni / sceasy

A package to help convert different single-cell data formats to each other
GNU General Public License v3.0
374 stars 54 forks source link

Not possible to install from conda package #79

Open stevekm opened 1 year ago

stevekm commented 1 year ago

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 commented 1 year ago

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.