line 9 error
Hi,
I’ve suddenly started getting the following errors:
Traceback (most recent call last): File "/home/user/resfinder/run_resfinder.py", line 9, in <module> from cge.resfinder import ResFinder File "/home/user/resfinder/cge/resfinder.py", line 9, in <module> from tabulate import tabulate ModuleNotFoundError: No module named 'tabulate'
I think it has started after a recent update to ‘brew’
Comments (5)
-
-
reporter Hi Eddy,
Thanks for your response.
I’ve resolved the ‘tabulate’ error thank you. But each time a new module causes resfinder to fail, e.g. cgecore, Bio etc. I’ve reached:
‘ModuleNotFoundError: No module named 'git'’
And it will not install.
Is it just better for me to reinstall resfinder?
Thanks.
-
Dear Harley,
Do you get an error message when installing the git module? The relevant command is below:
pip install gitpython
But as you said, it might be better to reinstall ResFinder, as it should contain all the necessary modules.
Please let me know if this resolves your issue.
Best regards
Eddy -
reporter pip install gitpython
Fixes that error but then I get:
ModuleNotFoundError: No module named 'dateutil'
I will attempt to fully reinstall ResFinder.
Thank you for your help.
-
- changed status to resolved
- Log in to comment
Dear Harley Boniface,
thank you for your message.
It looks like your tabulate module is not correctly installed, or your python version can not find the correct path.
I would suggest that you reinstall or update tabulate and try it again (some of the below commands could help):
pip install tabulate or pip3 install tabulate
pip install --upgrade tabulate or pip3 install --upgrade tabulate
python3 -m pip install tabulate
Please let me know if this resolved your issue.
Best regards
Eddy