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

Mamba 2 breaks snakemake #368

Open
matinnuhamunada opened this issue Dec 5, 2024 · 1 comment
Open

Mamba 2 breaks snakemake #368

matinnuhamunada opened this issue Dec 5, 2024 · 1 comment

Comments

@matinnuhamunada
Copy link
Collaborator

See issue: snakemake/snakemake#3108

@ChristophKnapp
Copy link

I have the same problem. I'm running the testrun from the installation instruction on ubuntu. I get to

bgcflow build report

and it ends with

CreateCondaEnvironmentException:
Could not create conda environment from /bgcflow/workflow/rules/../envs/r_notebook.yaml:
Command:
mamba env create --quiet --no-default-packages --file "
/bgcflow/.snakemake/conda/a077f3860d21e9945ef0b5ec906c1153_.yaml" --prefix "~/bgcflow/.snakemake/conda/a077f3860d21e9945ef0b5ec906c1153_"
Output:
The following argument was not expected: --no-default-packages
Run with --help for more information.

When I run

conda env create --quiet --no-default-packages --file "/bgcflow/.snakemake/conda/a077f3860d21e9945ef0b5ec906c1153_.yaml" --prefix "/bgcflow/.snakemake/conda/a077f3860d21e9945ef0b5ec906c1153_"

which is the same command from the error above, just with conda, it works. I'm aware that this could cause other problems downhill though.

I'm quite sure this worked before but after some update ...

Any suggestions?

Regards

Christoph

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

No branches or pull requests

2 participants