Bokeh Failed To Load Generated Html Page To The Browser
Solution 1:
You are evidently running of Bokeh installed from GitHub source. In this case you must use "inline" resources. CDN resources are only published for full releases, release candidates, and "dev" builds. We do not publish CDN resources for every commit, so there will never be versions like dev13+2.<hash>.min.js
available on CDN.
An easy way to use inline resources is to set the BOKEH_RESOURCES
environment variable:
BOKEH_RESOURCES=inline python myscript.py
Of course the other alternative is to install a real release instead of installing from source.
Solution 2:
As Chrome developer console mentions, your test.html
file fails at fetching resources (Bokeh CSS and JS files). The version of Bokeh you use is probably the culprit here.
Try reinstalling Bokeh with pip install bokeh
and it should work.
Otherwise, if you don't want or cannot reinstall it, you can manually edit your HTML file so that it points to the correct resources:
https://cdn.bokeh.org/bokeh/release/bokeh-0.12.5.min.css
for the CSShttps://cdn.bokeh.org/bokeh/release/bokeh-0.12.5.min.js
for the JS
Post a Comment for "Bokeh Failed To Load Generated Html Page To The Browser"