PythonAnywhere Forums

How can I use Google Cloud Speech API?

Hi

I am trying to set up the google speech API on PythonAnywhere. I tried installing the Google Cloud SDK but as I can not use sudo, I was unable to installed it. I also tried exporting my credentials with the command "export GOOGLE_APPLICATION_CREDENTIALS = apikey.json" but it also does not seems to work.

Any help will be appreciated, thanks.

I don't think you need sudo to install the Google Cloud SDK -- just follow the "Interactive installer" instructions and it will install without sudo.