# ModuleNotFoundError: No module named 'snakemake\_wrapper\_utils'

**URL:** <https://community.france-bioinformatique.fr/t/modulenotfounderror-no-module-named-snakemake-wrapper-utils/2701>\
**Category:** IFB Core Cluster\
**Created:** [Janvier 31, 2023, 2:10 UTC](https://community.france-bioinformatique.fr/t/modulenotfounderror-no-module-named-snakemake-wrapper-utils/2701 "2023-01-31T14:10:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ltalignani](https://community.france-bioinformatique.fr/user_avatar/community.france-bioinformatique.fr/ltalignani/32/894_2.png) [@ltalignani](https://community.france-bioinformatique.fr/u/ltalignani)\
**Post date:** [Janvier 31, 2023, 2:10 UTC](https://community.france-bioinformatique.fr/t/modulenotfounderror-no-module-named-snakemake-wrapper-utils/2701/1 "2023-01-31T14:10:18Z")

</div>

Bonjour,  
Je suis entrain de déployer un pipeline en snkamake qui utilise des wrappers.  
J'utilise module load snakemake/7.7 pour activer snakemake.  
Quand je demande l'activation des environnements, j'ai une erreur de type :

Select jobs to execute...

[Tue Jan 31 15:06:45 2023]  
Job 18: Samtools view conversion of sample sam in bam format

[Tue Jan 31 15:06:45 2023]  
Job 9: BWA-MEM mapping SN21\_01627 sample reads against reference genome sequence

Activating environment modules: bwa/0.7.17  
Traceback (most recent call last):  
File "/shared/ifbstor1/projects/aedes\_amplicon/shave/.snakemake/scripts/tmpzxcty\_rf.wrapper.py", line 12, in   
from snakemake\_wrapper\_utils.samtools import get\_samtools\_opts  
ModuleNotFoundError: No module named 'snakemake\_wrapper\_utils'

J'ai tenté d'installer ce package manquant mais rien n'y fait.

Comment puis-je régler ce problème ?

Cordialement,

---

<div class="post-metadata">

**Author:** ![dbenaben](https://community.france-bioinformatique.fr/user_avatar/community.france-bioinformatique.fr/dbenaben/32/43_2.png) [@dbenaben](https://community.france-bioinformatique.fr/u/dbenaben)\
**Post date:** [Février 3, 2023, 9:22 UTC](https://community.france-bioinformatique.fr/t/modulenotfounderror-no-module-named-snakemake-wrapper-utils/2701/2 "2023-02-03T09:22:22Z")

</div>

[@team.workflow](https://community.france-bioinformatique.fr/groups/team.workflow) une idée ?

---

<div class="post-metadata">

**Author:** ![Mag](https://community.france-bioinformatique.fr/user_avatar/community.france-bioinformatique.fr/mag/32/338_2.png) [@Mag](https://community.france-bioinformatique.fr/u/Mag)\
**Post date:** [Février 3, 2023, 9:40 UTC](https://community.france-bioinformatique.fr/t/modulenotfounderror-no-module-named-snakemake-wrapper-utils/2701/3 "2023-02-03T09:40:21Z")

</div>

snakemake\_wrapper\_utils est un package python, le mieux serait de l'ajouter au module snakemake/7.7.0, [@team.software](https://community.france-bioinformatique.fr/groups/team.software) Il est dispo via conda (bioconda).

---

<div class="post-metadata">

**Author:** ![gildaslecorguille](https://community.france-bioinformatique.fr/user_avatar/community.france-bioinformatique.fr/gildaslecorguille/32/6_2.png) [@gildaslecorguille](https://community.france-bioinformatique.fr/u/gildaslecorguille)\
**Post date:** [Janvier 15, 2024, 10:27 UTC](https://community.france-bioinformatique.fr/t/modulenotfounderror-no-module-named-snakemake-wrapper-utils/2701/4 "2024-01-15T10:27:55Z")

</div>

Mieux vaut tard que jamais.  
Pour une autre demande, je suis retombé sur celle-ci.

snakemake\_wrapper\_utils est maintenant disponible dans l'env `snakemake/8.0.1`

Désolé 😕
