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 '_request_ctx_stack' from 'flask' #68

Open
jhanm12 opened this issue Feb 2, 2024 · 1 comment · May be fixed by #69
Open

ImportError: cannot import name '_request_ctx_stack' from 'flask' #68

jhanm12 opened this issue Feb 2, 2024 · 1 comment · May be fixed by #69

Comments

@jhanm12
Copy link

jhanm12 commented Feb 2, 2024

Issue :

File "/test/python3.11/site-packages/flask_redis.py", line 24, in
from flask import _request_ctx_stack
ImportError: cannot import name '_request_ctx_stack' from 'flask'

Issue while importing this module: from flask import _app_ctx_stack

Flask Version : 3.0.1

DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.4.

https://stackoverflow.com/questions/77240858/how-to-fix-cannot-import-name-request-ctx-stack-from-flask

@jhanm12
Copy link
Author

jhanm12 commented Feb 2, 2024

Please update your code base, to support it with latest versions of 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

Successfully merging a pull request may close this issue.

1 participant