Skip to content Skip to sidebar Skip to footer

What Is The Correct Way To Update Jupyter Notebook Extensions?

What is the correct way to upgrade Jupyter Notebook extensions (e.g. RISE, ipywidgets)? I have a routine which keeps my Python packages updated by running pip install --upgrade, an

Solution 1:

jupyter nbextension install --py --sys-prefix installs the extension code in the correct place, so yes you should run this when you update an extension.

jupyter nbextension enable --py --sys-prefix just writes in a JSON file to load the relevant extension - so unless the extension changes its name then no, you don't need to rerun this.

Solution 2:

Consider running jupyter labextension update --all in terminal to check and install updates.

Solution 3:

if you've installed using anaconda you could open an anaconda prompt and write

conda update rise

for example. that seems to work for me.

Post a Comment for "What Is The Correct Way To Update Jupyter Notebook Extensions?"