Failed to use the Bokeh version 2.0.0 on Databricks

Hello Team,

I’m working with Databricks to visualize some data. Before I worked with the old version 1.4.0, which is recommended from Databricks.

I have always installed bokeh in Notebook with the code:

dbutils.library.installPyPI(“bokeh”, version = “1.4.0”)
and it runs good.

Today I realize that the new release 2.0.0 is no more compatible with Databricks. After:

dbutils.library.installPyPI(“bokeh”, version = “2.0.0”)
I tryed to plot some data with my old code but it failed and showed:
Uncaught ReferenceError: Bokeh is not defined

This issue is not urgent cause I can always work with the 1.4.0 version. But maybe someone has any ideas about the problem? Thx


@XunboChen I’m afraid I have zero experience with Databricks to be able to offer much concrete. What is showing up on the browser console and network tab?

@XunboChen You marked my reply as “solution”, were you able to find a resolution?

Hello Bryan,

I have just checked and found that BOKEH 2.0.0 is now compatible with Databricks. Thanks for your help! :slight_smile:


1 Like

@Bryan I’m not sure what Databricks changed maybe they just refreshed their databank…not it works.

1 Like