OpenVoiceOS / ovos-listener

ovos-core metapackage for speech daemon
Apache License 2.0
1 stars 1 forks source link

ModuleNotFoundError: No module named 'ovos_bus_client' #4

Closed goldyfruit closed 1 year ago

goldyfruit commented 1 year ago

When running ovos-listener into a container based on the requirements.txt, the process fails because ovos-bus-client is not installed.

ovos-bus-client should be part of the requirements.txt.

ovos@a16b90c82c04:/$ ovos-listener 
Traceback (most recent call last):
  File "/home/ovos/.venv/bin/ovos-listener", line 33, in <module>
    sys.exit(load_entry_point('ovos-speech==0.0.2', 'console_scripts', 'ovos-listener')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ovos/.venv/bin/ovos-listener", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_listener/__init__.py", line 21, in <module>
    from ovos_bus_client.session import SessionManager
ModuleNotFoundError: No module named 'ovos_bus_client'