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.
Please read about various pros/cons and warnings regarding Classical Versus CoCalc Jupyter Notebooks notebooks.
To enable an extension for your project you have to
Install the extension library for Python 3 (using
Install the extension for Jupyter
The documentation of the extension you want to install might explain this in more detail.
In essence, you have to replace switches like
--system (which are for global installations)
--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