homeassistant-cli does not like netdisco-3 #242

Open
opened 2 months ago by onkelbeh · 0 comments
Owner
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/hass-cli", line 33, in <module>
    sys.exit(load_entry_point('homeassistant-cli==0.10.0.dev20210822203534', 'console_scripts', 'hass-cli')())
  File "/usr/lib/python-exec/python3.9/hass-cli", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/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 "/usr/lib/python3.9/site-packages/homeassistant_cli/cli.py", line 11, in <module>
    import homeassistant_cli.autocompletion as autocompletion
  File "/usr/lib/python3.9/site-packages/homeassistant_cli/autocompletion.py", line 8, in <module>
    from homeassistant_cli.config import Configuration, resolve_server
  File "/usr/lib/python3.9/site-packages/homeassistant_cli/config.py", line 9, in <module>
    from ruamel.yaml import YAML
  File "/usr/lib/python3.9/site-packages/ruamel/__init__.py", line 1, in <module>
    __import__('pkg_resources').declare_namespace(__name__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'netdisco<3,>=2.8.3' distribution was not found and is required by homeassistant-cli
``` Traceback (most recent call last): File "/usr/lib/python-exec/python3.9/hass-cli", line 33, in <module> sys.exit(load_entry_point('homeassistant-cli==0.10.0.dev20210822203534', 'console_scripts', 'hass-cli')()) File "/usr/lib/python-exec/python3.9/hass-cli", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/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 "/usr/lib/python3.9/site-packages/homeassistant_cli/cli.py", line 11, in <module> import homeassistant_cli.autocompletion as autocompletion File "/usr/lib/python3.9/site-packages/homeassistant_cli/autocompletion.py", line 8, in <module> from homeassistant_cli.config import Configuration, resolve_server File "/usr/lib/python3.9/site-packages/homeassistant_cli/config.py", line 9, in <module> from ruamel.yaml import YAML File "/usr/lib/python3.9/site-packages/ruamel/__init__.py", line 1, in <module> __import__('pkg_resources').declare_namespace(__name__) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module> def _initialize_master_working_set(): File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'netdisco<3,>=2.8.3' distribution was not found and is required by homeassistant-cli ```
onkelbeh added the
bug
label 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.