Using an AWS Lambda function to use some of Microsoft Azure TTS API. Having trouble and getting error just trying to import "import azure.cognitiveservices.speech as speechsdk". Uploaded needed dependency correctly with pip3 install azure-cognitiveservices-speech -t .
Seems to be a problem with AWS runtime being linux, works fine locally on mac machine. Could anyone help? Might have to do with uploading a custom docker image like this solution or some sort of problem with this, but not sure how to add this dependency to aws lambda.
Thanks a bunch.