ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
203 stars 131 forks source link

🐛 Bug: Ersilia catalog outputing traceback error(pkg_resources.ContextualVersionConflict) #313

Closed EstherIdabor closed 1 year ago

EstherIdabor commented 1 year ago

Describe the bug.

running ersilia catalog after smooth installation of the Ersilia python package produces a traceback error:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 584, in _build_master ws.require(requires)

File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 901, in require needed = self.resolve(parse_requirements(requirements))

File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 792, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (importlib-metadata 1.5.0 (/usr/lib/python3/dist-packages), Requirement.parse('importlib-metadata>=3.6.0; python_version < "3.10"'), {'flask'})

Screenshot (104)

Describe the steps to reproduce the behavior

ersilia catalog

Expected behavior.

output ersilia's model catalog

Screenshots.

No response

Operating environment

Ubuntu 20.04.4 LTS

Additional context

No response

GemmaTuron commented 1 year ago

Hi @EstherIdabor Do other commands also crash or it is only the catalog? can you try ersilia --help

GemmaTuron commented 1 year ago

@EstherIdabor see my suggestions in #312 try and install it anew.

EstherIdabor commented 1 year ago

Thank you very much @GemmaTuron

GemmaTuron commented 1 year ago

Hi @EstherIdabor is this issue solved?

EstherIdabor commented 1 year ago

Yes I have, should I close the issue now?