Closed AroneyS closed 9 months ago
Might be a problem with my mamba installation? https://github.com/mamba-org/mamba/issues/2533
Trying to run mamba manually, I get:
Could not solve for environment specs
Encountered problems while solving:
- package rosella-0.5.2-h8e1a5b0_0 requires matplotlib-base >=3.8, but none of the providers can be installed
The environment can't be solved, aborting the operation
Running with conda instead: Found conflicts! Looking for incompatible packages.
When running manually, are you using the rosella.yaml
or just running mamba install rosella
?
I ran mamba env create --quiet --file "/work/microbiome/abisko/aroneys/envs/9c0f1c514d27a6713bf925f7bd327aeb_.yaml" --prefix "/work/microbiome/abisko/aroneys/envs/9c0f1c514d27a6713bf925f7bd327aeb_"
from the error above.
Where the yaml is:
channels:
- conda-forge
- numba
- bioconda
dependencies:
- python >= 3.8, <= 3.10
- gcc
- cxx-compiler
- rosella >= 0.5.2
- numba >= 0.53, <= 0.57
- numpy <= 1.24
- joblib >= 1.1.0, <= 1.3
- scikit-bio >= 0.5.7
- umap-learn >= 0.5.3
- scipy <= 1.11
- pandas >= 1.3
- pynndescent >= 0.5.7
- hdbscan >= 0.8.28
- scikit-learn >= 1.0.2, <= 1.1
- flight-genome >= 1.6.1
- coverm >= 0.6.1
- seaborn
- imageio
- matplotlib
- tqdm
- tbb
- joblib
- pebble
- threadpoolctl
- biopython
- checkm-genome==1.1.3
I think we can simplify this yaml file now. Can you try creating with this:
channels:
- conda-forge
- numba
- bioconda
dependencies:
- rosella >= 0.5.2
- coverm >= 0.6.1
- checkm-genome==1.1.3
Testing with mamba
on my end, it could resolve that environment setup pretty easily. But also my mamba
can still resolve the original yaml file, so it might be a configuration issue
That seemed to work. Get some ClobberErrors that don't matter?
ClobberError: This transaction has incompatible packages due to a shared path.
packages: bioconda/linux-64::coverm-0.6.1-h07ea13f_6, bioconda/linux-64::rosella-0.5.2-h8e1a5b0_0
path: '.crates.toml'
ClobberError: This transaction has incompatible packages due to a shared path.
packages: bioconda/linux-64::coverm-0.6.1-h07ea13f_6, bioconda/linux-64::rosella-0.5.2-h8e1a5b0_0
path: '.crates2.json'
rosella -h
, coverm -h
and checkm -h
all work fine
You might need to run mamba clean -a
, that might get the og yaml file to work as well
Got error creating Rosella env (see below). Incompatible versions?
I noticed that it has the defaults channel, but removing that doesn't fix it (see https://mamba.readthedocs.io/en/latest/user_guide/troubleshooting.html#mixing-the-defaults-and-conda-forge-channels). Any ideas?