Python Lambda - Missing files

aws
lambda

#1

Hi. I’m using your serverless framework to help me package up dependencies for a python script I have which uses DLIB for some machine learning (facial property detection).

I can run it fine locally, but when I use your system to package up my project ready for Lambda I am met with missing file errors coming from lambda its self:

Unable to import module 'handler': libcblas.so.3: cannot open shared object file: No such file or directory

On this note, I have a feeling there are lots of missing files. Any ideas how I can get serverless to find all these dependencies? There’s a lot of them…

Any ideas what’s is going wrong?