While deploying the app, I am getting the following error:
File "/home/appuser/venv/lib/python3.7/site-packages/pandas/compat/_optional.py", line 110, in import_optional_dependency
raise ImportError(msg) from None
ImportError: Missing optional dependency 'Jinja2'. DataFrame.style requires jinja2. Use pip or conda to install Jinja2.
The app works locally, but it seems like it doesn’t on streamlit sharing.
Also, deploying the app worked before, but it seems like there have been changes (perhaps to Jinja2) that are causing this error.