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 'flask' #847

Closed
nhatdt51 opened this issue Oct 4, 2023 · 0 comments · Fixed by #849
Closed

ImportError: cannot import name 'Markup' from 'flask' #847

nhatdt51 opened this issue Oct 4, 2023 · 0 comments · Fixed by #849

Comments

@nhatdt51
Copy link

nhatdt51 commented Oct 4, 2023

Flask no longer supports importing Markup from Flask.

E from .forms import (
E ../../.local/share/virtualenvs/datalake-3LdJjfvu/lib/python3.11/site-packages/flask_security/forms.py:16: in
E from flask import Markup, current_app, request
E E ImportError: cannot import name 'Markup' from 'flask' (/Users/nhatdang/.local/share/virtualenvs/datalake-3LdJjfvu/lib/python3.11/site-packages/flask/init.py)

@jwag956 jwag956 mentioned this issue Oct 5, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant