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

Running Hotword.py #1

Open
acla6525 opened this issue Nov 19, 2019 · 1 comment
Open

Running Hotword.py #1

acla6525 opened this issue Nov 19, 2019 · 1 comment

Comments

@acla6525
Copy link

acla6525 commented Nov 19, 2019

I am having trouble running the hotword script, I have entered the path to my model file but it keeps saying no module named snowboy, even though I have sent the 3 wav files to the server successfully. See below terminal output, any help would be appreciated.

(env) pi@raspberrypi:~ $ python /home/pi/assistant-sample/hotword_sample.py
Traceback (most recent call last):
File "/home/pi/assistant-sample/assistant/hotword.py", line 7, in
import snowboydecoder
ModuleNotFoundError: No module named 'snowboydecoder'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/assistant-sample/hotword_sample.py", line 2, in
from assistant.hotword import HotwordService
File "/home/pi/assistant-sample/assistant/hotword.py", line 9, in
import snowboy.snowboydecoder as snowboydecoder
ModuleNotFoundError: No module named 'snowboy'

@samiron7567
Copy link

I am not sure if you have installed snowboy module before executing. However following the documentation i tried to install snowboy on my RPi4 with Raspbian Buster and had to fail again installing. Looks like Raspbian Buster has lot of issues currently and not fully stable to use or most of the libraries not compatible with the latest Buster. However the pain point is, you can not go back to Raspbian Stretch or any earlier version if you are on RPi4.

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