3 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
After experimentation, I managed to find a solution by myself. Instead of using the latest Amazon Linux 2023 AMI, I used the Amazon Linux 2 AMI and worked fine for my case.
répondu il y a un an
0
Hello,
Lambda function doesn't come prepacked with Pillow. The error `ZLIB_1.2.9' not found can be due to any other missing module such as opencv. Can you share your import statements which you are using in your code so I can test it on my own function.
répondu il y a un an
0
I fixed it by creating a Layer with the Pillow package. First run the following from my terminal:
pip install pillow --platform manylinux1_x86_64 --only-binary=:all: -t ./python
Then I zipped it and uploaded it as Layer.
Works with python 3.10 Architecture: x86_64
répondu il y a 10 mois
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a 7 mois
- demandé il y a 3 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
Hello, I know that lambda function doesn't come prepacked with Pillow. That is why I have created a zip file with all the necessary packages for my application. The problem is when I execute the function and it throws the error. Thank you