Skip to content
Advertisement

No module named objects [bokeh]

Note from maintainers: This question is no longer relevant. The bokeh.objects module has not existed for years



I’m trying to run this script:

JavaScript

from: https://www.continuum.io/content/painless-streaming-plots-bokeh

but at this line:

JavaScript

I got:

JavaScript

The version I’m using is

0.11.1

On linux mint 17.1

Advertisement

Answer

Note from maintainers: This answer is no longer relevant. The bokeh.objects module has not existed for years



did you try installing bokeh before trying the examples? If not, just run:

JavaScript

and try your script again.


if it does not work, it’s likely that the bokeh sources changed, so you might want to change the

JavaScript

into

JavaScript

cf the source code


At the first line of your example it states:

JavaScript

which means that the example’s code was already about to be deprecated at the time of the writing of the tutorial.

So instead of copy/pasting that code, you should try to understand how it works, and recreate it using the documentation and sources:

have fun!

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement