Ask Your Question

Notebook access in Sage 7.3 via Oracle VM

asked 2016-10-25 14:22:31 -0500

srobbert gravatar image

I am a new Sage user. I have been experimenting with Sage 7.3 on my Windows laptop using Oracle VirtualBox (Version 5.1.6 r110634). When I initialize Sage in Jupyter, the only way I have been able to use the notebook version is to first open a saved Jupyter Sage document I named Initialize_Notebook_Sage.ipynb and then executing the command notebook(). From that point, the application resets (after a short delay) and I have access to previously saved Sage Notebooks with the interface I expected. I tried to access notebooks through a browser using http://localhost:8080, but was unsuccessful.

While this workaround gets me to the desired interface, it is not the most elegant. Is there a way to access the Sage Notebook directly from the Jupyter screen or from the VirtualBox screen?

Thanks in advance for your help.

edit retag flag offensive close merge delete


I ran into similar problems in virtualbox and found that the documentation at has not been updated for the jupyter notebook yet, so I wasn't able to e.g. access the jupyter notebook through the local Firefox, which worked well with sagenb before. Sorry I can't help, but I hope you will post the solution once you find it.

stan gravatar imagestan ( 2016-10-27 07:48:31 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-08 06:25:07 -0500

One way to launch the legacy Sage Notebook server when the Jupyter Notebook server is already launched is as follows.

Open a Jupyter Notebook worksheet, say Untitled.ipynb. In the first input cell, type

!sage -n

This will launch the legacy Sage Notebook server and open up a web browser window or tab with the familiar Sage Notebook home page.

edit flag offensive delete link more


Thanks! I'll try this! (Sorry for the time lag in my response--my sabbatical is over, so now life is much more complicated!)

srobbert gravatar imagesrobbert ( 2017-02-09 13:37:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2016-10-25 14:22:31 -0500

Seen: 78 times

Last updated: Nov 08 '16