Skip to content

Upgrading#

Follow the procedures below to upgrade rsconnect-jupyter.

  • First, uninstall the extension:

    • Disable and remove the rsconnect-jupyter notebook extension:

      Terminal
      # Disable Python extensions found in `rsconnect-jupyter`
      jupyter-serverextension disable --sys-prefix --py rsconnect_jupyter
      
      # Remove JavaScript extension
      jupyter-nbextension uninstall --sys-prefix --py rsconnect_jupyter
      

    • Finally, uninstall the rsconnect-jupyter python package:

      Terminal
      pip uninstall rsconnect_jupyter
      

  • Then, reinstall it.

    1. Install jupyter and rsconnect-jupyter.

      Terminal
      python -m pip install jupyter rsconnect-jupyter
      

    2. Install the rsconnect-jupyter Jupyter Notebook extension.

      Terminal
      python -m jupyter nbextension install --sys-prefix --py rsconnect_jupyter
      

    3. Enable the rsconnect-jupyter Jupyter Notebook extension

      Terminal
      python -m jupyter nbextension enable --sys-prefix --py rsconnect_jupyter
      

    4. Enable the rsconnect-jupyter Jupyter Server extension.

      Terminal
      python -m jupyter serverextension enable --sys-prefix --py rsconnect_jupyter