Jupyter notebook import qiime2 problem

I use jupyter notebook to run analysis. when I import qiime2.
It said ‘ModuleNotFoundError: No module named ‘qiime2’.
Qiime2 was installed via conda and activated.

Hello, just to clarify, you natively installed QIIME 2 via conda, then activated the conda environment, then ran jupyter notebook in the terminal with the conda environment active?

EDIT: Also, have you run the command jupyter serverextension enable --py qiime2 --sys-prefix


Hi Oddant,

It works by your instructions. After running jupyter serverextension enable --py qiime2 --sys-prefix, qiime2 is extended to jupyter notebook.

Thanks a lot. Great job.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.