Closed conchoecia closed 4 months ago
Hi,
that's really weird. Perhaps your environment is somehow broken? I suspect this, because the dependency management is part of conda, specified in this repo, and up to now did not cause any such issue. I am not sure how to debug your specific situation.
You are right, the pip instructions are somewhat misleading: Snakemake itself has too many dependencies to be installed with pip alone. Hence, the note in the main docs. Yet, installing plugins into a conda environment via pip ought to work, too. A downgrade to v7 of Snakemake should not happen either way.
Ideally there would be install instructions for mamba or conda in addition to those with pip.
Ah, that is something which maybe should be phrased better in the docs. Actually, the pip install instruction does not stem from this repo. It is added automatically for every plugin similarly.
Thanks for your thoughts! Not sure what I could do to help debug except paste all my packages. What I did was to follow the mamba instructions on the snakemake page, and I have an environment just for snakemake 8. Then, I had to install some additional packages required for my analyses, but it was only a few aside from the standards (standards being: numpy, matplotlib, pandas, et cetera).
Do you think spinning up a fresh environment, installing snakemake 8, and trying to install the slurm executor again might help to diagnose what is going on?
Might be worth a trial.
Installing Snakemake will also bring numpy and pandas, yet not the full scipy stack and no matplotlib. You could run Snakemake with --software-deployment-method conda --conda-frontend mamba
to deploy the dependencies of your workflow on the fly (--software-deployment-method
has a shorthand --sdm
), to better separate environments. However, the stack you mentioned should not give any issues at all. Hence, it is weird.
Hey there! I'm trying to migrate my SLURM workflow to snakemake 8 and I think this is the new standard way.
There are only
pip
instructions on the instruction page, but it also mentions using mamba. So, I tried to install with mamba.The problem
When I install with conda, it tries to downgrade my snakemake to v7. Isn't it supposed to stay 8?
When I try to install with mamba, it says that the package does not exist.
Ideal solution
Ideally there would be install instructions for mamba or conda in addition to those with pip. Also, if it is supposed to work with
conda install
, ideally the version requirement would be bumped to snakemake v8 (since I believe that plugins are only supported on v8?).Thank you!