First time here? Check out the FAQ!

Ask Your Question
4

Notebook access in Sage 7.3 via Oracle VM

asked 8 years ago

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.

Preview: (hide)

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 ( 8 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 8 years ago

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.

Preview: (hide)
link

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 ( 8 years ago )

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: 8 years ago

Seen: 338 times

Last updated: Nov 08 '16