I am completely new to Python. I am trying to run the Python application.
python -m src.mainAfter running this I am getting this error:
Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code from src.routes import * from src.routes import *File "C:\x.py", line 7, in <module> from flask_cognito import cognito_auth_required, cognito_group_permissions File "C:\flask_cognito.py", line 3, in <module> from flask import _request_ctx_stack, current_app, jsonify, requestImportError: cannot import name '_request_ctx_stack' from 'flask' (C:\Users\c\Appata\Local\Programs\Python\Python311\Lib\site-packages\flask\__init__.py)I am currently using Python 3.12.3 version.
I have uninstalled the package from requirement.txt and installed it again thinking may be dependency issue would be there but still the problem persists.