Setup Jupyter Extensions
Besides CoCalc’s own implementation of the Jupyter Notebook, there is also the possibility of running the JupyterLab server inside your project.
To enable an extension for your project you have to
Install the extension library for Python 3 (using
pip3
)Install the extension for Jupyter
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