Installing sage as a kernel in the system-wide jupyter

292 views
Skip to first unread message

Nils Bruin

unread,
Sep 9, 2016, 3:29:45 PM9/9/16
to sage-devel
I've found the following quite convenient and I wonder what the best place is to document this better and/or make it more robust:

sage.repl.ipython_kernel.install.JUPYTER_PATH=os.environ["HOME"]+"/.ipython"
sage.repl.ipython_kernel.install.SageKernelSpec.update()

It installs the sage kernel into (what is for me) my normal jupyter server directory. It means I can just run "jupyter notebook" to access sage ipynb files.
Reply all
Reply to author
Forward
0 new messages