In which file did you encounter the issue?
https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/speech/cloud-client/transcribe_model_selection.py
Did you change the file? If so, how?
No
Describe the issue
same script has worked in the past without any changes. My other personal script has started failing on importing beta speech api with the same error.
File "./transcribe_model_selection.py", line 100, in
transcribe_model_selection_gcs(args.path, args.model)
File "./transcribe_model_selection.py", line 62, in transcribe_model_selection_gcs
from google.cloud import speech_v1p1beta1 as speech
File "/Library/Python/2.7/site-packages/google/cloud/speech_v1p1beta1/init.py", line 17, in
from google.cloud.speech_v1p1beta1 import types
File "/Library/Python/2.7/site-packages/google/cloud/speech_v1p1beta1/types.py", line 21, in
from google.cloud.speech_v1p1beta1.proto import cloud_speech_pb2
File "/Library/Python/2.7/site-packages/google/cloud/speech_v1p1beta1/proto/cloud_speech_pb2.py", line 286, in
options=None, file=DESCRIPTOR),
TypeError: init() got an unexpected keyword argument 'file'