I am unable to get google assistant working on my raspberry pi with adafruit voice bonnet using this guide https://learn.adafruit.com/using-google ... t/overview. This was solved before viewtopic.php?t=195146 . Kindly help to fix the issue.
I am getting the following error. I am also getting google-auth dependency error when updating the packages.
Code: Select all
(env) pi@zumopi:~ $ python3 my_gv_buttontotalk.py
Traceback (most recent call last):
File "/home/pi/my_gv_buttontotalk.py", line 40, in <module>
from google.assistant.embedded.v1alpha2 import (
File "/home/pi/env/lib/python3.9/site-packages/google/assistant/embedded/v1alpha2/embedded_assistant_pb2.py", line 36, in <module>
_descriptor.EnumValueDescriptor(
File "/home/pi/env/lib/python3.9/site-packages/google/protobuf/descriptor.py", line 796, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
(env) pi@zumopi:~ $