Problem with ipyfilechooser extension – FileChooser button not displaying

Hello,

In notebook via jupyterhub , I’m using the ipyfilechooser extension like this:

from ipyfilechooser import FileChooser
chemin = FileChooser(path)
display(chemin)

But the button is not displaying. Instead, it just outputs:

FileChooser(path=‘path’, filename=‘’, title=‘’, show_hidden=False, select_desc='S…

Thanks for help

ben

Okay, I solved it by doing the following in my Dockerfile:

# Install the extensions globally via conda
RUN conda install -c conda-forge jupyterlab ipywidgets plotly

# Build JupyterLab to activate the extensions
RUN jupyter lab build

These extensions were already installed in my environment, but building JupyterLab at the base layer solved the problem.

1 Like