-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Closed
Labels
Description
In which file did you encounter the issue?
Did you change the file? If so, how?
No changes to file.
Describe the issue
Getting an error when the file is run after setting the environment variable GOOGLE_APPLICATION_CREDENTIALS. I'm using Python 2.7.11 on Windows 8.1.
Stack trace:
C:\test>python transcribe_streaming.py
Traceback (most recent call last):
File "transcribe_streaming.py", line 238, in <module>
main()
File "transcribe_streaming.py", line 214, in main
make_channel('speech.googleapis.com', 443)) as service:
File "transcribe_streaming.py", line 52, in make_channel
creds = credentials.get_credentials().create_scoped([SPEECH_SCOPE])
AttributeError: 'Credentials' object has no attribute 'create_scoped'