我正在尝试在 AWS Lambda 中使用 Microsoft 语音到文本 api(azure-cognitiveservices-speech)。在 AWS Lambda 中,我使用的是 docker image(public.ecr.aws/lambda/python:3.8)。当我运行代码时,出现以下错误:
Speech Recognition canceled: CancellationReason.Error
Error details: Runtime error: Failed to initialize platform (azure-c-shared)