Simply importing async-dash causes following error:
from async_dash import Dash
Error:
Traceback (most recent call last):
File "/Users/lassereginnielsen/Workspace/woodsense/code/admin-dashboard/run_locally.py", line 1, in <module>
from app import app
File "/Users/lassereginnielsen/Workspace/woodsense/code/admin-dashboard/app/__init__.py", line 1, in <module>
from app.main import app
File "/Users/lassereginnielsen/Workspace/woodsense/code/admin-dashboard/app/main.py", line 3, in <module>
from app.dash_app import app
File "/Users/lassereginnielsen/Workspace/woodsense/code/admin-dashboard/app/dash_app.py", line 2, in <module>
from async_dash import Dash
File "/Users/lassereginnielsen/Workspace/woodsense/code/admin-dashboard/venv/lib/python3.10/site-packages/async_dash/__init__.py", line 1, in <module>
from async_dash import (
File "/Users/lassereginnielsen/Workspace/woodsense/code/admin-dashboard/venv/lib/python3.10/site-packages/async_dash/monkey_patch_callback_context.py", line 2, in <module>
import quart
File "/Users/lassereginnielsen/Workspace/woodsense/code/admin-dashboard/venv/lib/python3.10/site-packages/quart/__init__.py", line 3, in <module>
from jinja2 import escape, Markup
ImportError: cannot import name 'escape' from 'jinja2' (/Users/lassereginnielsen/Workspace/woodsense/code/admin-dashboard/venv/lib/python3.10/site-packages/jinja2/__init__.py)
Simply importing async-dash causes following error:
Error:
Output of
pip freeze
: