maxplanck-ie / snakepipes

Customizable workflows based on snakemake and python for the analysis of NGS data
http://snakepipes.readthedocs.io
389 stars 88 forks source link

conda and "strict channel priorities" #993

Closed sunta3iouxos closed 8 months ago

sunta3iouxos commented 8 months ago

Got another one, again on the developmental brunch:

Your conda installation is not configured to use strict channel priorities. This is however crucial for having robust and correct environments (for details, see https://conda-forge.org/docs/user/tipsandtricks.html). Please consider to configure strict priorities by executing 'conda config --set channel_priority strict'.
Removing incomplete Conda environment /scratch/tgeorgom/mamba/snakepipes_devel/lib/python3.11/site-packages/snakePipes/shared/rules/envs/shared.yaml...
Creating conda environment /scratch/tgeorgom/mamba/snakepipes_devel/lib/python3.11/site-packages/snakePipes/shared/rules/envs/shared.yaml...
Downloading and installing remote packages.

I even run:

conda config --set channel_priority strict

but still the error persists and hungs for a long while. After that the pipeline starts

Any idea why this is happening? First time I encountered this.

WardDeb commented 8 months ago

Did you re-initiate (i.e. close and re-open) your shell after making the changes ?

sunta3iouxos commented 8 months ago

I did. Probably this happened due to using the same environment in 2 instances. Now it works.