googlesamples / assistant-sdk-python

Samples and bindings for the Google Assistant API
http://developer.google.com/assistant/sdk
Apache License 2.0
916 stars 320 forks source link

AttributeError: 'array.array' object has no attribute 'tostring' #418

Open diallodavid opened 3 years ago

diallodavid commented 3 years ago

File "/env/lib/python3.9/site-packages/googlesamples/assistant/grpc/audio_helpers.py", line 57, in normalize_audio_buffer buf = arr.tostring() AttributeError: 'array.array' object has no attribute 'tostring'

What’s New In Python 3.9 Removed

Aom92 commented 2 years ago

Could you merge this? People following Google's Tutorial might get confused when the sample won't work