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.
- Python (tested with version 2.7.14 and 3.6.1)
- Jupyter 4
- PARI version 2.8.0 or later
- Readline (any version which works with PARI)
- Optional: Cython version 0.25 or later
This kernel can also be obtained as optional package for SageMath
(run sage -i pari_jupyter
).