☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Raspberry Pi and Bokeh App

Community Support
osprey700
osprey700

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)

⌁   Link to post
Bryan
Bryan

Can you verify that you have Tornado <4.5 installed? Tornado 4.5 (released earlier this month) is incompatible with current and previously release Bokeh versions.

Bryan

···

On May 15, 2017, at 07:35, osprey700@gmail.com wrote:

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)

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/1a871c08-24c6-4e78-a2c0-dd8c13dd33f6%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled