Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Sage is a python-based mathematics software that integrates a wide range of mathematics software into a single python interface.

Calling sage from the terminal (which is how you call it) creates a CLI version of sage (the program's default) from which you can then call the sage notebook by typing, notebook(). The sage notebook is a web browser-based version of sage. I am running i386 12.10 if it helps.

When I run sage notebook() from the terminal I receive the error:

bash: syntax error near unexpected token `('
share|improve this question
What happens if you run sage notebook() as one command? –  Seth Feb 2 '13 at 19:21
I have edited it into my question. –  Brenton Horne Feb 2 '13 at 19:22
How about sage "notebook()"? –  Seth Feb 2 '13 at 23:26
python: can't open file 'notebook()': [Errno 2] No such file or directory –  Brenton Horne Feb 3 '13 at 0:43
I believe that sage -n or sage -notebook will be the correct terminal command. –  Jaakko Seppälä Aug 20 '13 at 7:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.