Failed to display Jupyter Widget of type HBox; widgets missing javascript library?

I am trying to use keras-tqdm to get a progress bar on my Jupyter laptop when learning models with Keras, but I am stuck with the following error message:

Failed to display HBup Jupyter Widget.

If you read this post on a Jupyter Notebook or JupyterLab Notebook, this may mean that JavaScript widgets are still loading. If this message persists, it probably means that the JavaScript widgets library is not installed or not enabled. See the Jupyter Widget Documentation for installation instructions.

If you are reading this post in a different interface (e.g. static rendering on GitHub or NBViewer), this may mean that your frontend does not currently support widgets.

I visited the documentation page with which they link and executed my commands. Nothing seems to work and I'm losing what the next step is.

Previously, he simply said that I have an old version of JavaScript widgets, and I needed a newer one. I followed various instructions to try to update JavaScript widgets and how it happened.

To be clear, here is the command from the documentation:

conda install -c conda-forge ipywidgets

when i run it i get the following:

# All requested packages already installed.
# packages in environment at C:\ProgramData\Anaconda2\envs\py36:
#
ipywidgets                7.1.1                    py36_0    conda-forge

where py36 is the environment I use.

What can I do next?

+4
source share
1 answer

"jupyter lab"?

JupyterLab . CentOS :

  • nodejs. , - .
    CentOS ( , EPEL ):

    sudo yum install nodejs

  • npm , -: npm config set proxy http://proxy.company.com:8080 npm config set https-proxy http://proxy.company.com:8080

  • ipywidgets:

    jupyter labextension install @jupyter-widgets/jupyterlab-manager

npm nodejs ipywidgets .

+2

Source: https://habr.com/ru/post/1692981/


All Articles