Since I was working in a virtual env, I was installing jwt extended inside venv just like any other package.
what actually solved my issue was by running the command in a user cmd and directly installing it in the system.
pip install flask flask-jwt-extended