theislab / zellkonverter

Conversion between scRNA-seq objects
https://theislab.github.io/zellkonverter/
Other
136 stars 26 forks source link

Error creating conda environment package __glibc conflicts for: @/linux-64::__glibc==2.28=0 python=3.7.7 -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17'] #119

Open Marwansha opened 1 month ago

Marwansha commented 1 month ago

Hi, am trying to use writeH5AD and there is an error for creating conda enviroment due to a confilict, any ideas how to get around that?

> writeH5AD(sce_gene,"test.h5ad")
+ /pasteur/appa/homes/masharaw/.cache/R/basilisk/1.4.0/0/bin/conda 'create' '--yes' '--prefix' '/pasteur/appa/homes/masharaw/.cache/R/basilisk/1.4.0/zellkonverter/1.2.1/zellkonverterAnnDataEnv' 'python=3.7.7' '--quiet' '-c' 'conda-forge'
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
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 versions

Package __glibc conflicts for:
@/linux-64::__glibc==2.28=0
python=3.7.7 -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
Note that strict channel priority may have removed packages required for satisfiability.

Error: Error creating conda environment '/pasteur/appa/homes/masharaw/.cache/R/basilisk/1.4.0/zellkonverter/1.2.1/zellkonverterAnnDataEnv' [exit code 1]
lazappi commented 1 month ago

Hi. It looks like the incompatibility is with your system version of glibc (i.e. I think you would have the same problem creating a normal conda environment) so I'm not sure how much I can help.

You are also using a very old version of {zellkonverter} (v1.2.1) which is attempting to use an old conda environment. Upgrading to a newer version of {zellkonverter} (the current release is v1.14.0) would use a much newer environment which might install without issues (plus you get all the other improvements made since then).