I Dont Like Lambdas
paulefou.com·186w
Preview
Report Post

Dependencies

[ERROR] Runtime.ImportModuleError: Unable to import module 'app.main':
libc.musl-x86_64.so.1: cannot open shared object file:
No such file or directory
Traceback (most recent call last):

That is a complete log that you can see once you deployed your python app. If you google this the answer will be as the first entry in amazon docs. The more you read, the more insane it’s sounds to me.

To fix this problem they suggest 9 steps, which include creating a EC2 instance with the same operating system that your lambda runs on, which is famously known and run by pretty much every computer Amazon Linux 2 AMI or the Amazon Linux AMI. (no joke)

This error occurs if your py…

Similar Posts

Loading similar posts...