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

cannot import name assistant_helpers #7

Open
gain9999 opened this issue Jun 3, 2017 · 6 comments
Open

cannot import name assistant_helpers #7

gain9999 opened this issue Jun 3, 2017 · 6 comments

Comments

@gain9999
Copy link

gain9999 commented Jun 3, 2017

After I ran gassistant.py I got the following error. Any suggestion?
I ran it on Pi Zero W, python 2.7.9

Traceback (most recent call last):
  File "gassistant.py", line 6, in <module>
    from assistant import Assistant
  File "/home/pi/google-assistant-hotword-raspi-master/assistant.py", line 9, in <module>
    from googlesamples.assistant import (
ImportError: cannot import name assistant_helpers
@Wqrld
Copy link

Wqrld commented Jun 16, 2017

did you move a file?

@Wqrld
Copy link

Wqrld commented Jun 16, 2017

nope i have the same problem now

@Wqrld
Copy link

Wqrld commented Jun 16, 2017

this issue is likely related to python not being able to find googlesamples

@Wqrld
Copy link

Wqrld commented Jun 16, 2017

progress: this project seems to be built for https://github.com/googlesamples/assistant-sdk-python/blob/f7f6d03a307f6bbedbbc0cbb82d88d8348c22e64/googlesamples/assistant/common_settings.py

edit: it is a newer version

edit 2: i give up for today, 7 hours of working on it is way too much. This project just needs an update for the new names which were moved around

@Wqrld
Copy link

Wqrld commented Jul 3, 2017

progress: https://gist.github.com/aycgit/29ad57e45b9e9d28cc9040c8fd32b1ea (needs cleanup) i currently have an alsa problem because snowboy does not close properly...

@sipvoip
Copy link

sipvoip commented Jul 31, 2017

Having the same issue, I can run googlesamples-assistant-pushtotalk, but get and error when I try to use with hotword.

root@raspberry:~/google-assistant-hotword-raspi# python gassistant.py models/snowboy.umdl
Traceback (most recent call last):
File "gassistant.py", line 6, in
from assistant import Assistant
File "/root/google-assistant-hotword-raspi/assistant.py", line 9, in
from googlesamples.assistant import (
ImportError: cannot import name assistant_helpers

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

3 participants