Install the dependencies listed below and run
pip install pari-jupyter
On Jupyter notebook versions older than 5.3, syntax highlighting must be explicitly enabled by running
jupyter nbextension enable --sys-prefix gp-mode/main
Replace --sys-prefix by --user for a user installation.
There is a standalone python script in test/ that depends on jupyter_kernel_test (see the file test/environment.yml for the precise dependency list that are run in the github action using conda).