You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have changed the code according to the latest commits as follows
in ~/embedded-assistant-sdk-python/googlesamples/rpi/main.py from google.assistant.embedded.v1alpha1 import embedded_assistant_pb2
to from google.assistant.embedded.v1alpha2 import embedded_assistant_pb2
but when it run the following according to tutorial following error results,
(env) pi@raspberrypi:~/embedded-assistant-sdk-python/googlesamples $ python -m rpi
INFO:root:Connecting to embeddedassistant.googleapis.com
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/pi/embedded-assistant-sdk-python/googlesamples/rpi/__main__.py", line 440, in <module>
ret_val = setup_assistant()
File "/home/pi/embedded-assistant-sdk-python/googlesamples/rpi/__main__.py", line 205, in setup_assistant
assistant = embedded_assistant_pb2.EmbeddedAssistantStub(grpc_channel)
AttributeError: 'module' object has no attribute 'EmbeddedAssistantStub'
The text was updated successfully, but these errors were encountered:
Damn, I hope I didn't follow you off a cliff. I'm getting the same thing now.
Reading Metadata on the google.assistant.grpc file now about pb2 and will be trying to pick through that.
I have changed the code according to the latest commits as follows
in ~/embedded-assistant-sdk-python/googlesamples/rpi/main.py
from google.assistant.embedded.v1alpha1 import embedded_assistant_pb2
to
from google.assistant.embedded.v1alpha2 import embedded_assistant_pb2
And the lines,
to
but when it run the following according to tutorial following error results,
The text was updated successfully, but these errors were encountered: