Open fpom opened 4 years ago
@fpom did you manage to fix it? I am have the exact same issue.
Nope, still waiting for some help.
I tried re-creating my conda virtual env and it didn't help. However, I worked it around by running a notebook server in Docker.
That's weird! Probably you don't have the same version (or configuration) of Python inside and outside of Docker.
Also ran into this problem running the notebook locally (macOS), but widget works in docker for me as well (specifically on binderhub/jupyterhub deployments on k8s)
The FileUpload
widget is quite new, and I suspect you are in an environment where you updated ipywidgets at some point. I would suggest recreating a new environment and make a clean installation of ipywidgets.
Also, you can try restarting the server/refreshing the page after updating ipywidgets.
@martinRenou not really, as I wrote a few comments above, I tried creating a new conda virtual env with everything installed from scratch and it didn't help.
Could it happen that you have ipywidgets or Jupyter installed in the base conda environment? Which would conflict with your current environment.
Also, if it's JupyterLab, do not forget to re-install the extension with:
jupyter labextension install @jupyter-widgets/jupyterlab-manager
When I create a FileUpload, it doesn't display. I have a bunch of errors in the JS console of the browser. On the attached screenshot, I start with an emptied console, and the restart the kernel & re-run the full notebook.
I've tried other widgets, they work. I've tried with FireFox and got the same errors.