AlexeyBond / Irene-Voice-Assistant

Ирина - русский голосовой ассистент для работы оффлайн. Поддерживает скиллы через плагины.
Other
7 stars 0 forks source link

Error running code, outdated dependencies #2

Closed SergeyMi37 closed 9 months ago

SergeyMi37 commented 9 months ago
python -m irene
...
  File "D:\_proj\_va\bond\Irene-Voice-Assistant\irene\plugin_loader\core_plugins\plugin_discovery.py", line 2, in <module>
    from collections import Iterable
...
  File "D:\_proj\_va\bond\Irene-Voice-Assistant\irene_plugin_web_face\plugin_out_tts_serverside.py", line 1, in <module>
    from collections import Callable

The solution is described in https://stackoverflow.com/questions/72032032/importerror-cannot-import-name-iterable-from-collections-in-python

try:
    from collections.abc import Iterable
except ImportError:
    from collections import Iterable
AlexeyBond commented 9 months ago

https://github.com/AlexeyBond/Irene-Voice-Assistant/commit/2d01d9010c4d754e2bb2d228ba88fe85ad14974e