from google.cloud import texttospeech import os os.environ["GOOGLE_APPLICATION_CREDENTIALS"]=r"C:\\Users\\user\\Desktop\\my.json" client = text