Installing public extensions

To install a particular JupyterLab extension, use the following command:

jupyter labextension install <name of extension>

name of the extension is the npm package name that has been provided to npm upon upload. 

Note that you need to remove the <> symbols when writing the extension's name. 

To install a specific version of the extension, add the version to the extension name, as shown in the following code:

jupyter labextension install [email protected]

In the preceding code, we can see the following:

  • 1.0.1 is the specific version of the extension that you want to install, similar to how 3.6 is the version of Python needed to install Python 3.6. 
  • If the version is not specified, the latest version of the extension will be installed by default.

You can install or uninstall several extensions at the same time by combining the extensions in the same install command, as shown in the following code:

jupyter labextension install [email protected] name_of_extension_2 name_of_extension_3

Note that installing multiple extensions will take some time to download, bundle, and rebuild within JupyterLab. 

As shown in the following code block, you can also make several install commands with the additional parameter of --no-build, which will queue up your requests until a build command is issued:

jupyter labextension install [email protected] --no-build
jupyter labextension install name_of_extension_2 --no-build
jupyter labextension install name_of_extension_3 --no-build
jupyter lab build
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.240.21