Jupyter Notebook: Widget Javascript Not Detected
Question: I installed python3 and jupyter notebook using pip3 in MacOs 10.9. When I try to run the widget it gives error that there is no javascript widget. I have python3 and R ke
Solution 1:
Run the following command:
jupyter nbextension enable --py --sys-prefix widgetsnbextension
, then restart the kernel in Jupyter should do the trick.
Solution 2:
I used the following commands successfully with Jupyter, Mac OS, Python 3.6, and Anaconda. The first command gets the latest version of ipywidgets at this time (version 7.0).
conda install -c conda-forge ipywidgets
jupyter nbextension enable --py widgetsnbextension
Solution 3:
I faced the same problem and after running the command:jupyter nbextension enable --py --sys-prefix widgetsnbextension
, the prompt should appear:
>Enabling notebook extension jupyter-js-widgets/extension...
- Validating: ok
.
Refresh your jupyter notebook and the widgets worked.
Solution 4:
Probably the best way, at least it worked for me: reinstall the ipywidgets and widgetsextension and it should work.
pip uninstall ipywidgets widgetsnbextension
pip install ipywidgets
jupyter nbextension enable --py--sys-prefix widgetsnbextension
Solution 5:
This solved it for me:
jupyter labextension install @jupyter-widgets/jupyterlab-manager
Post a Comment for "Jupyter Notebook: Widget Javascript Not Detected"