aws-samples/aws-modern-application-workshop

Issue in Module 2a

Opened this issue · 1 comments

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)

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