CERN/captcha-api

ImportError: cannot import name 'json' from 'itsdangerous'

mmasquelin opened this issue · 0 comments

While deploying and running the flask application(v1.1.1) using a Docker container, I get the following message : "ImportError: cannot import name 'json' from itsdangerous".

Two options seems to be avalaible :

  1. Using the Flask version v1.1.1 and try downgrading the itdangerous (to 2.0.1).
  2. Upgrade the app to Flask at least to v2.1.0 (but needs to be tested)