Here's how you can turn your Raspberry Pi into a Google Assistant. This 2022 updated tutorial covers the installation and also how to fix some common errors with newer versions of Python. Leave a comment if you have any questions!
Subscribe to my channel :) https://www.youtube.com/samwestbytech...
I may earn commission if you purchase from the links below:
MY CAMERA: https://amzn.to/3reaDlK
MY MICROPHONE: https://amzn.to/3fhunSN
MY LIGHTING: https://amzn.to/3dHll1i
FREE Amazon Prime: https://amzn.to/3ren80W
FREE Audible Plus: https://amzn.to/3xYzJsR
RASPBERRY PI 4: https://amzn.to/3BC4i9I
RASPBERRY PI PICO START KIT: https://amzn.to/3REvjis
RASPBERRY PI CAMERA V2: https://amzn.to/3QFp90c
ELECTRONICS COMPONENT STARTER KIT: https://amzn.to/3qB23xg
ASSORTED SENSOR KIT: https://amzn.to/3U7M7zV
USB SPEAKER: https://amzn.to/3La4foK
USB 1080P WEBCAM: https://amzn.to/3Lq0OL7
NOTES:
0:00 Intro
0:32 Raspberry pi setup tutorial: • Raspberry Pi Headless Setup
Follow along with the instructions here: https://developers.google.com/assista...
13:20 If you're getting this error "/home/pi/env/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so: undefined symbol: __atomic_exchange_8"
Add the following to ~/.bashrc:
export LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1.2.0
Restart the terminal
exec $SHELL
And reactivate your virtualenvironment
source env/bin/activate
13:29 Change python versions tutorial: • Install Multiple Python Versions on R...
14:35 If you're getting an array.array error, edit the lowest listed file in error. Mine is "/home/pi/env/lib/python3.9/site-packages/googlesamples/assistant/grpc/audio_helpers.py". Go to line 57 and change "buf = arr.tostring()" to "but = arr.tobytes()"