Bokeh App won’t load in Chromium or Iceweasel web browsers on the Raspberry Pi 2 when using the command ‘sudo python -m bokeh serve widgets.py’. When I go to the localhost:5006 page, the bokeh app never loads. Everything is up to date and no errors show up in the terminal once the command is executed.
Has anyone else seen this issue or found a way around it.
Below is the code for app:
from bokeh.io import curdoc
from bokeh.models.widgets import TextInput, Button, Paragraph
from bokeh.layouts import layout
text_input = TextInput(value=‘Test’)
button = Button(label=‘Generate Text’)
output = Paragraph()
def update():
output.text = 'Get Started: ' + text_input.value
return
button.on_click(update)
lay_out = layout([[button, text_input], [output]])
curdoc().add_root(lay_out)

