deb17 / flask-modals

Modals for flask
MIT License
9 stars 13 forks source link

Import Error #7

Open FlipThatPancake opened 8 months ago

FlipThatPancake commented 8 months ago

from flask_modals.modal import (from flask import (Blueprint, render_template, get_flashed_messages, ImportError: cannot import name '_app_ctx_stack' from 'flask' (...Python\Python311\Lib\site-packages\flask__init__.py)

karastoyanov commented 1 week ago

Got the same error:

Flask==3.0.1
Flask-Modals==0.2.4

I tried with Flask-Modals 0.5.1, but same result

The only workaround that I was able to find was to downgrade the Flask version below 3.0.0, but that is not gonna work for me. That project seems to be dead, but in case someone decides to try implement Flask-Modals and gets the same error.