Setup Jupyter Extensions

Besides CoCalc’s own implementation of the Jupyter Notebook, there is also the possibility of running the Classical Server or Jupyter Lab inside your project.

See also

Please read about various pros/cons and warnings regarding Classical Versus CoCalc Jupyter Notebooks notebooks.

Setup

To enable an extension for your project you have to

  1. Install the extension library for Python 3 (using pip3)

  2. Install the extension for Jupyter

  3. Enable it

The documentation of the extension you want to install might explain this in more detail.

Note

In essence, you have to replace switches like --system (which are for global installations) with --user (which are for installing in your user account, which is equivalent to a project).

For example, here are the steps to install contributed notebook extensions and enable equation numbering. To issue these commands, first open up a Linux Terminal. Then run:

pip3 install --user jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user
jupyter nbextension enable equation-numbering/main

Related: Install Python Packages and Install R Packages