qiime2-2019.1 suddenly not working

Trying to view a .qzv file and got the following error. I’ve been using qiime2-2019.1 for the past few months with no problem until now. Anyone know why? Below is the error message.

(qiime2-2019.1) dhcp-ccc-7787:2_All-Milk-Samples coco$ qiime tools view filtered-table5-min1000.qzv
Traceback (most recent call last):
File “/anaconda3/envs/qiime2-2019.1/bin/qiime”, line 11, in
sys.exit(qiime())
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/q2cli/tools.py”, line 291, in view
visualization = qiime2.sdk.Visualization.load(visualization_path)
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/sdk/result.py”, line 66, in load
archiver = archive.Archiver.load(filepath)
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/core/archive/archiver.py”, line 307, in load
return cls(path, Format(rec))
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/core/archive/format/v1.py”, line 29, in init
super().init(archive_record)
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/core/archive/format/v0.py”, line 72, in init
self.type = sdk.parse_type(type)
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/sdk/util.py”, line 57, in parse_type
pm = qiime2.sdk.PluginManager()
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/sdk/plugin_manager.py”, line 44, in new
self._init()
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/sdk/plugin_manager.py”, line 59, in _init
plugin = entry_point.load()
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/pkg_resources/init.py”, line 2346, in load
return self.resolve()
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/pkg_resources/init.py”, line 2352, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/q2_picrust2-0.0.2-py3.6.egg/q2_picrust2/init.py”, line 9, in
from ._full_pipeline import full_pipeline
File “/anaconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/q2_picrust2-0.0.2-py3.6.egg/q2_picrust2/_full_pipeline.py”, line 9, in
import picrust2.pipeline
ModuleNotFoundError: No module named ‘picrust2’

Hey there @smreyes - did you try to install q2-picrust2? It looks like maybe you started to, but didn’t finish the installation (one of the steps is to install picrust2, which is a different software package than q2-picrust2). You could try uninstalling q2-picrust2, or, just install a new environment (that is my suggestion, these things are quick and easy, and are effectively disposable — I typically create a few new envs any given week).

:t_rex:

2 Likes