the latest version of jinja2 was installed as a dependency by the below mentioned code snippet which yielded the following error
code snippet
import os try: from werkzeug.utils import secure_filename from flask import * from modules import * from bot import * from mongoatlas import * from flask_cors import CORS, cross_origin except ImportError as e: print("\n[INFO] One or more modules are missing.\n") print("Thw following error occured \n",e)
error
[INFO] One or more modules are missing.
Thw following error occured
cannot import name 'escape' from 'jinja2' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jinja2/init.py)
the latest version of jinja2 was installed as a dependency by the below mentioned code snippet which yielded the following error
code snippet
import os try: from werkzeug.utils import secure_filename from flask import * from modules import * from bot import * from mongoatlas import * from flask_cors import CORS, cross_origin except ImportError as e: print("\n[INFO] One or more modules are missing.\n") print("Thw following error occured \n",e)
error
[INFO] One or more modules are missing.
Thw following error occured cannot import name 'escape' from 'jinja2' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jinja2/init.py)