问题
I'm trying to use the recent Amazon transcribe service with:
transcribe = boto3.client('transcribe')
and I get the following error:
botocore.exceptions.UnknownServiceError: Unknown service: 'transcribe'. Valid service names are: ...
I've tried upgrading boto3 and botocore using:
pip install botocore --upgrade
pip install boto3 --upgrade
回答1:
The feature has not landed in botocore
yet. It's unfortunate that usage examples appeared in the AWS docs already, when those service definitions are not released to PyPI yet.
Watch PR 1356 for merging.
来源:https://stackoverflow.com/questions/48307919/unknown-service-error-botocore