Flask-And-Redis icon indicating copy to clipboard operation
Flask-And-Redis copied to clipboard

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

Open jhanm12 opened this issue 1 year ago • 1 comments

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 avatar Feb 02 '24 13:02 jhanm12

Please update your code base, to support it with latest versions of Flask.

jhanm12 avatar Feb 02 '24 13:02 jhanm12