You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.
@sach97 I believe you need to debug it on EC2 instance to check that all libraries are in place. This error from my experience come from lack of some shared library. The issue with debugging is that it won't show what library is missing on AWS Lambda - it will just return "No module" hence EC2.
Basically you need to unpack archive on fresh EC2 instance and run "python handler.py" or run python console and try to import magpie library. One more thing to keep in mind is that AWS Lambda has more preinstalled shared libraries than AWS AMI.
After deploy when you try to invoke the lambda function like this:
You'll get this error:
A possible solution add:
on top of init.py of the magpie package
The text was updated successfully, but these errors were encountered: