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

ImportError: cannot import name 'Markup' from 'jinja2' #1

Open
liuhao27andy opened this issue May 20, 2022 · 1 comment
Open

ImportError: cannot import name 'Markup' from 'jinja2' #1

liuhao27andy opened this issue May 20, 2022 · 1 comment

Comments

@liuhao27andy
Copy link

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

How to deal with it?

@NanmiCoder
Copy link

The reason for this error is that the Flask version in the requirements file of the project is not consistent with the Jinja2 version. Uninstall Flask and then install it again.

pip uninstall flask
pip install flask

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