I am getting error message running LEfSe on the galaxy. The error message is below:-
Traceback (most recent call last):
File “/usr/bin/lefse_format_input.py”, line 10, in
from importlib.metadata import distribution
ModuleNotFoundError: No module named ‘importlib.metadata’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/bin/lefse_format_input.py”, line 13, in
from importlib_metadata import distribution
ModuleNotFoundError: No module named ‘importlib_metadata’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/bin/lefse_format_input.py”, line 15, in
from pkg_resources import load_entry_point
File “/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py”, line 3266, in
@_call_aside
File “/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py”, line 3241, in _call_aside
f(*args, **kwargs)
File “/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py”, line 3279, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py”, line 573, in _build_master
ws.require(requires)
File “/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py”, line 891, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/local/lib/python3.6/dist-packages/pkg_resources/init.py”, line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘lefse==1.1.2’ distribution was not found and is required by the application
I was not able to troubleshoot the issue. Do you have any advice how to solve the issue?
Thank you so much for your help on this.
Thanks,
Daniel