Groups
Groups
Sign in
Groups
Groups
sage-devel
Conversations
About
Send feedback
Help
Installing sage as a kernel in the system-wide jupyter
556 views
Skip to first unread message
Nils Bruin
unread,
Sep 9, 2016, 3:29:45 PM
9/9/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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