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

Issue in Module 2a #283

Open
habushaban opened this issue Mar 9, 2022 · 1 comment
Open

Issue in Module 2a #283

habushaban opened this issue Mar 9, 2022 · 1 comment

Comments

@habushaban
Copy link

When trying to test the service locally, I get this error:
ImportError: cannot import name 'json' from 'itsdangerous' (/usr/local/lib/python3.8/dist-packages/itsdangerous/init.py)

@mjki4hj3
Copy link

This error can be solved by either upgrading Flask > 2.0 or downgrading ItsDangerous < 2.0 and its MarkUp< 2.0 in the requirements.txt file.

boto3==1.11.16
Flask==1.1.1
itsdangerous==1.1.0
markupsafe==1.1.1
Flask-Cors==3.0.8
werkzeug<1.0

This is the related github flask issue pallets/flask#4455 that hashes out the details

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