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'
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
tofrom google.assistant.embedded.v1alpha2 import embedded_assistant_pb2
And the lines,
to
but when it run the following according to tutorial following error results,