Ask Your Question

Launch Jupyter notebook from Sage?

asked 2015-11-26 07:51:36 -0500

When starting the SageMath REPL, the user is reminded how to launch the Sage Notebook:

$ sage
│ SageMath Version 6.9, Release Date: 2015-10-10                     │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │

Is there a command to launch the Jupyter Notebook (formerly IPython Notebook) from Sage?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2015-11-26 08:15:38 -0500

tmonteil gravatar image

updated 2015-11-27 08:39:39 -0500

From a terminal, run the command:

sage -n jupyter

If you must do it from the Sage command line, you can try:

 sage: !sage -n jupyter

or perhaps better:

sage: !$SAGE_SCRIPTS_DIR/sage-native-execute sage -n ipython

but i am not sure it is recommended...

edit flag offensive delete link more

answered 2016-02-19 22:58:54 -0500

Ivan Andrus gravatar image

If you choose "Terminal Session > Sage (advanced)" from the menu, it will prompt you for command line arguments for sage. Type "-n jupyter", then enter and away you go. This is going to be easier once I finish

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2015-11-26 07:51:36 -0500

Seen: 3,259 times

Last updated: Feb 19 '16