Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: Wake Word marvin with module ovos-ww-plugin-precise-lite failed to load #166

Closed
mikejgray opened this issue Jun 9, 2023 · 3 comments

Comments

@mikejgray
Copy link
Contributor

When trying to use ovos-ww-plugin-precise-lite on Neon, the following error occurs:

2023-06-08 19:05:54.157 - voice - ovos_plugin_manager.wakewords:create_hotword:197 - ERROR - Wake Word marvin with module ovos-ww-plugin-precise-lite failed to load
Traceback (most recent call last):
  File "/home/neon/venv/lib/python3.7/site-packages/ovos_plugin_manager/wakewords.py", line 194, in create_hotword
    return cls.load_module(module, hotword, ww_config, lang, loop)
  File "/home/neon/venv/lib/python3.7/site-packages/ovos_plugin_manager/wakewords.py", line 170, in load_module
    raise ImportError(f'Wake Word {hotword} with module {module} '
ImportError: Wake Word marvin with module ovos-ww-plugin-precise-lite failed to load
2023-06-08 19:05:54.160 - voice - ovos_dinkum_listener.voice_loop.hotwords:load_hotword_engines:180 - ERROR - Failed to load hotword: marvin

Same error with other tflite models (I also tested hey_mycroft).

I think it's coming from here.

(venv) neon@neon:~$ pip list | grep ovos-plugin-manager
ovos-plugin-manager                     0.0.23

It doesn't seem to be an issue in OVOS, so that leads me to think maybe there's a mismatch with Python 3.7, but it seems unlikely because the test suite here checks 3.7.

@JarbasAl
Copy link
Member

JarbasAl commented Jun 9, 2023

did you install either tensorflow or tflite_runtime ?

those need to be installed manually, ImportError: Wake Word marvin with module ovos-ww-plugin-precise-lite failed to load means the class was never loaded from the plugin, so i'm guessing it failed to get tflite intreperter

@mikejgray
Copy link
Contributor Author

🤦🏼‍♂️
@NeonDaniel Looks like I found the issue...

@mikejgray
Copy link
Contributor Author

@github-actions github-actions bot mentioned this issue Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants