Teichlab / celltypist

A tool for semi-automatic cell type classification
https://www.celltypist.org/
MIT License
278 stars 44 forks source link

Failed to install with conda #2

Closed f6v closed 2 years ago

f6v commented 2 years ago

I've tried installing the package with conda on both Ubuntu and macOS, but it fails.

What I've done:

conda create -n celltypist python=3.8
conda install -c bioconda celltypist

Ubuntu

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 
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

macOS

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: | 
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 versions

I've tried with Python 3.9 and 3.7 as well with the same outcome.

Would appreciate any hints!

Best

prete commented 2 years ago

Hi @f6v, thank you for trying CellTypist. Looks like some dependencies are not in bioconda channel and conda-froge channel needs to be added there as well.

Could you try this please?

conda install -c bioconda -c conda-forge celltypist
f6v commented 2 years ago

@prete I managed to install it with pip. Thanks!