Ask Your Question

Launch Jupyter notebook from Sage?

asked 2015-11-26 14:51:36 +0200

slelievre gravatar image

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 15:15:38 +0200

tmonteil gravatar image

updated 2015-11-27 15:39:39 +0200

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-20 05:58:54 +0200

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



Asked: 2015-11-26 14:51:36 +0200

Seen: 29,404 times

Last updated: Feb 20 '16