0

i want to make a speech to text program so i used Google Speech Api. When i launched the code on my pc it works, but on raspberry pi it doesnt. Probably it is about Credential, but i tried so many things. For example: i add GOOGLE_APPLICATION_CREDENTIALS with this command:

sudo nano ~/.bashrc

but it still creates error enter image description here

i dont know what should i do.

enter image description here

Tony Stark
  • 135
  • 3
  • 13

1 Answers1

0

You would need to restart your terminal for the commands in .bashrc to take effect. If you don't want to restart the terminal, type

export GOOGLE_APPLICATION_CREDENTIALS="<creds>"

Mark
  • 1,374
  • 11
  • 12