ipywidgets: Uncaught RefferenceError require is not defined

NCat
New Contributor III

Hi,

When I tried to use ipywidgets, it returns the following error.

CA0045C4-83C6-46FC-95DC-6857199FE69D.jpeg

I’m using Databricks with PrivateLink enabled on AWS, and Runtime version is 12.2 LTS.

Is there something that I need to use ipywidgets in my environment?

NCat
New Contributor III

Thank you for your reply @Retired_mod .

I don’t use Databricks Connect. I’m using default Notebook Editor on Databricks instead.

Is there any possible reason for the error?

NCat
New Contributor III

Thank you for your support.

The Back-end in the PrivateLink has limited access to the public internet with a white list.

Does it have to have access to a certain website to use ipywidgets?

NCat
New Contributor III

@Retired_mod 

I guess ipywidgets on Databricks uses CDN, and it cannot be loaded in PrivateLink environment. Isn’t this the cause of the error?

jvjvjvjvjv
New Contributor II

I am currently experiencing the same error, Azure DataBricks, Runtime version is 15.3 ML, default Notebook Editor.