Open redtrumpet opened 5 years ago
I also met this problem.
From ~/site-packages/jupyter_kernel_singular-0.9.9-py3.10.egg-info/installed-files.txt
we can see that the extension is installed as
../../../../share/jupyter/nbextensions/singular-mode/main.js
Hence
jupyter nbextension enable --sys-prefix singular-mode/main
is the correct one.
For JupyterLab I don't find --sys-prefix
of jupyter labextension
, and copying the path of main.js
by hand works.
First, syntax highlighting was not enabled by default in my jupyter 5.7 notebook, so the README is misleading here.
To enable it, I had to use the command
i.e. I had to remove the
jupyter_kernel_singular
part.