Skip to content
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

Fix python version in serverless image resizer quickstart #1340

Open
jcollado opened this issue Jun 24, 2024 · 0 comments · May be fixed by #1341
Open

Fix python version in serverless image resizer quickstart #1340

jcollado opened this issue Jun 24, 2024 · 0 comments · May be fixed by #1341
Labels
documentation Improvements or additions to documentation

Comments

@jcollado
Copy link

Serverless image resizer quickstar provides the following tip:

If you are encountering issues with the installation of the packages, such as Pillow, ensure you use the same version as the Python Lambdas (3.9) for Pillow to work.

However, when I tried to follow that advice, the resize lambda failed for me. When I looked at the sample-serverless-image-resizer-s3-lambda repository, I realized that current code uses python 3.11 instead. After updating my environment to use python 3.11, the code worked as expected.

To fix the problem for future readers of the documentation, the references to python 3.9 should be updated to python 3.11.

@jcollado jcollado linked a pull request Jun 24, 2024 that will close this issue
@Anze1508 Anze1508 added the documentation Improvements or additions to documentation label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants