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.
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