ImportError: cannot import name ‘Markup‘ from ‘jinja2‘

Screenshot of the error code:
insert image description here
As a solution, install the following versions of Flask and Jinjia2

pip install Flask==2.0.3
pip install Jinja2==3.0.0

Guess you like

Origin blog.csdn.net/qq_45257495/article/details/131323778