Ask Your Question
4

Notebook access in Sage 7.3 via Oracle VM

asked 2016-10-25 21:22:31 +0100

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

Comments

I ran into similar problems in virtualbox and found that the documentation at https://wiki.sagemath.org/SageApplian... 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 14:48:31 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-08 13:25:07 +0100

slelievre gravatar image

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

Comments

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 20:37:03 +0100 )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

2 followers

Stats

Asked: 2016-10-25 21:22:31 +0100

Seen: 303 times

Last updated: Nov 08 '16