I keep receiving the following error when running the command flask run in my venv. I have tried reinstalling the program multiple times and can not get it to work. I got it to work once then tried switching into development mode from production mode per my instructor and now receive the following error everytime I try running flask.
Traceback (most recent call last):
File "/Users/rachelpoverman/Desktop/Software Engineering Projects/Unit_22_Flask/22.1-intro/flask-intro-demo/video-demo/venv/bin/flask", line 7, in <module>
from flask.cli import main
File "/Users/rachelpoverman/Desktop/Software Engineering Projects/Unit_22_Flask/22.1-intro/flask-intro-demo/video-demo/venv/lib/python3.11/site-packages/flask/__init__.py", line 14, in <module>
from jinja2 import escape
ImportError: cannot import name 'escape' from 'jinja2' (/Users/rachelpoverman/Desktop/Software Engineering Projects/Unit_22_Flask/22.1-intro/flask-intro-demo/video-demo/venv/lib/python3.11/site-packages/jinja2/__init__.py)