-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named 'snappy._snappy_cffi' on AWS lambda #121
Comments
So, doing the exact same flow on a linux machine solved the issue. Guess the problem is the underlying binaries compilation |
I have the same problem. Why is this issue being ignored? |
@chris1248 - Have you seen my 2nd comment? I did the exact same steps on a linux machine and it worked. Guess it's an M1 chip issue |
Tried using the approach listed in the readme, and it doesn't work on a Mac M2 chip:
Brew info for snappy:
|
I recommend using conda to install snappy, exactly because of these build problems. |
I create a function using python-snappy to deploy on AWS Lambda. I followed this tutorial and basically did the following (TL;DR of the tutorial commands):
When running my function it fails on
import snappy
line with:My function file tree looks like the following:
I looked at issue #52 (That was mentioned in another similiar issue to have solved the problem) but I'm not sure how to create the
libsnappy.so.1
file (using mac M1 if it's relevant) or if there's another way to solve this issue.The text was updated successfully, but these errors were encountered: