# No module named 'pandas' when use nextflow

**URL:** <https://community.france-bioinformatique.fr/t/no-module-named-pandas-when-use-nextflow/2917>\
**Category:** Scientific support\
**Created:** [Avril 5, 2023, 2:34 UTC](https://community.france-bioinformatique.fr/t/no-module-named-pandas-when-use-nextflow/2917 "2023-04-05T14:34:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![juejun14](https://community.france-bioinformatique.fr/user_avatar/community.france-bioinformatique.fr/juejun14/32/907_2.png) [@juejun14](https://community.france-bioinformatique.fr/u/juejun14)\
**Post date:** [Avril 5, 2023, 2:34 UTC](https://community.france-bioinformatique.fr/t/no-module-named-pandas-when-use-nextflow/2917/1 "2023-04-05T14:34:56Z")

</div>

Bonjour la team,

Je suis en train de tester le pipeline de nextflow, mais il sort ce type d'erreur:

```bash
  Traceback (most recent call last):
    File "/shared/ifbstor1/projects/viropip/gitlab/m2_stage_note/nextflow_test/assets/script/contig_vote.py", line 2, in <module>
      import pandas as pd
  ModuleNotFoundError: No module named 'pandas'

Work dir:
  /shared/ifbstor1/projects/viropip/work/5b/f6d1bdc190148e7619b62677aa6e2c

```

J'ai bien fait module load python avant lancer le pipeline pour être sure que ça soit importé.  
Et j'ai regardé aussi directement sur terminal depuis noeud login, il n'y a pas de problème si je fait module load python et import pandas. Donc je ne comprend pas pourquoi il n'arrive pas à trouver pandas

Est-ce que quelqu'un peut m'aider s'il vous plait?  
Merci beaucoup et bonne journée,

Juejun

---

<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:** [Avril 5, 2023, 2:56 UTC](https://community.france-bioinformatique.fr/t/no-module-named-pandas-when-use-nextflow/2917/2 "2023-04-05T14:56:08Z")

</div>

Bonjour,  
il s'agit de quel pipeline? Pouvez-vous donner la commande que vous utilisez pour le lancer?  
Merci

Magali

---

<div class="post-metadata">

**Author:** ![juejun14](https://community.france-bioinformatique.fr/user_avatar/community.france-bioinformatique.fr/juejun14/32/907_2.png) [@juejun14](https://community.france-bioinformatique.fr/u/juejun14)\
**Post date:** [Avril 11, 2023, 8:02 UTC](https://community.france-bioinformatique.fr/t/no-module-named-pandas-when-use-nextflow/2917/3 "2023-04-11T08:02:21Z")

</div>

Bonjour Magali,

C'est un pipeline que je développe moi-même, je sais pas ce qui est arrivé mais il a fonctionné maintenant.  
merci en tout cas.

juejun
