Hi,
I have been using Bokeh for creating visualizations on my app. The app used to run with no problem. However, it broke few days ago and rebooting it didnât work out as well. I figured the problem comes from importing Bokeh. I receive the following error:
ImportError: cannot import name âMarkupâ from âjinja2â (/home/appuser/venv/lib/python3.7/site-packages/jinja2/init.py)
Jinja2 is one of Bokehâs dependencies.
Here is a simplified version of the problem:
The following is simple streamlit app with one Bokeh plot in it:
**
import streamlit as st
from bokeh.plotting import figure
graph = figure(title = âBokeh Line Graphâ)
x = [1, 2, 3, 4, 5]
y = [5, 4, 3, 2, 1]
graph.line(x, y)
st.bokeh_chart(graph)
**
I canât deploy the above app. Does anyone know how to fix this?
Thank you,
Hamed