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

Python 2 runtime no longer supported on AWS #4

Open
wallali opened this issue Jul 27, 2021 · 1 comment
Open

Python 2 runtime no longer supported on AWS #4

wallali opened this issue Jul 27, 2021 · 1 comment

Comments

@wallali
Copy link

wallali commented Jul 27, 2021

This looks like python 2 code and needs updating to support python 3 because Python 2 runtime is no longer an options on AWS Lambda. On python 3 runtime get the following error,

AttributeError: module 'urllib' has no attribute 'unquote_plus'

@tomhoq
Copy link

tomhoq commented Dec 8, 2024

For a quick fix, import like this:
from urllib.parse import unquote_plus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants