No module named 'awscam' Traceback - Deeplens / Lambda

0

Hi, I am building a simple application using Aamzon Deeplens. When compiling the Lambda function which interact with deeplens, it keep poping up the error "Unable to import module 'greengrassHelloWorld': No module named 'awscam' Traceback". I have reinstall awscam and updated the software on Deeplens for multiple times. I even tested the Deeplens Lambda template that is provoided by AWS. It still shows the same error. Please advise.

gefragt vor 2 Jahren285 Aufrufe
1 Antwort
0

Hey there,

how did you build and package your lambda function? It seems like the dependencies are not picked up by the mechanism. Also, does this error appear if you try to run the function locally in a unit test? If you could provide more details about the project setup, that would help to pinpoint the issue.

Best

Alex

profile pictureAWS
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen