eclipse/cloe

Cannot run cloe-launch

Closed this issue · 1 comments

There should be a way to prevent this happening, or make it clear what the solution is.

$ cloe-launch exec --help
Traceback (most recent call last):                                                                                                                                                                                  File "/home/cassava/.local/bin/cloe-launch", line 10, in <module>
    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 "/home/cassava/.local/bin/cloe-launch", line 13, in <module>
    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 "/home/cassava/.local/bin/cloe-launch", line 15, in <module>
    from pkg_resources import load_entry_point
  File "/home/cassava/.local/pipx/shared/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3238, in <module>
    @_call_aside
  File "/home/cassava/.local/pipx/shared/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
    f(*args, **kwargs)
  File "/home/cassava/.local/pipx/shared/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/cassava/.local/pipx/shared/lib/python3.6/site-packages/pkg_resources/__init__.py", line 567, in _build_master
    ws.require(__requires__)
  File "/home/cassava/.local/pipx/shared/lib/python3.6/site-packages/pkg_resources/__init__.py", line 884, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/cassava/.local/pipx/shared/lib/python3.6/site-packages/pkg_resources/__init__.py", line 770, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'cloe-launch' distribution was not found and is required by the application

I have not been able to re-produce this issue.