Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'distro' v.1.8.17 #1082

Open
IrinaVKuznetsova opened this issue Nov 29, 2024 · 0 comments
Open

ModuleNotFoundError: No module named 'distro' v.1.8.17 #1082

IrinaVKuznetsova opened this issue Nov 29, 2024 · 0 comments

Comments

@IrinaVKuznetsova
Copy link

Hi,

This is my first time using funannotate tool. Installing it on HPC.
I downloaded a SIF image (v.1.8.17) from https://depot.galaxyproject.org/singularity/
Next, tried to install databases:
singularity run $SIF_DIR funannotate setup -d $DATABASEOUT

getting an error:

Traceback (most recent call last):
  File "/opt/conda/bin/funannotate", line 10, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/funannotate/funannotate.py", line 715, in main
    mod = importlib.import_module(
  File "/opt/conda/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/opt/conda/lib/python3.9/site-packages/funannotate/setupDB.py", line 21, in <module>
    import funannotate.library as lib
  File "/opt/conda/lib/python3.9/site-packages/funannotate/library.py", line 17, in <module>
    import distro
ModuleNotFoundError: No module named 'distro'

tried container from another provider of the same version and got the same error.
If I call for the help page it works fine.
Any help would be appreciated.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant