☰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

import bokeh in flask package problem

Community Support
Jirka
Jirka
Hi everyone,

When I import bokeh in my simple flask app (single python module) everything goes fine.

from bokeh.embed import components
from bokeh.plotting import figure
from bokeh.resources import INLINE
from bokeh.templates import RESOURCES
from bokeh.util.string import encode_utf8


But then I reorganized the app as a Python package (http://flask.pocoo.org/docs/0.10/patterns/packages/). And now I get "No module named 'bokeh'". I'm new to python and flask so there must be something I'm missing.

Thanks all.
⌁   Link to post

End of archived discussion · Replies are disabled