AssistantPi
AssistantPi copied to clipboard
Error: You need client secrets to use the Assistant API
I've created the client secrets, and downloaded them into the file assistant.json and places it in the /home/pi folder. Still, when running bash install.sh, I get the error saying it needs the client secrets...
What am I doing wrong?
Are you running the install.sh
script as a user other than pi
? If you run echo $HOME
in the terminal, it should tell you the directory to put the assistant.json
file in. This is a bug I need to fix in the script, since if you are not running as the pi
user, then it should not tell you to put the file within /home/pi
.
I ran the install script from /home/pi, and have assistant.json in /home/pi, and I get the same type of error:
INFO:root:OAuth credentials initialized: /home/pi/.cache/voice-recognizer/assistant_credentials.json
Traceback (most recent call last):
File "src/AssistantPi.py", line 8, in