First time here? Check out the FAQ!

Ask Your Question
1

Basics of using notebooks with SageMath

asked 2 years ago

fgrieu gravatar image

updated 2 years ago

I'm a seasoned user of Mathematica, just moving to SageMath†. I get SageMath running under Linux (under Mint Vera, after installing sagemath 9.5-4 and automatically selected dependencies including jupyter-core 4.9.1-1), and can use SageMath in the terminal. I'd want to use jupyter, or whatever would give me the comfort of notebooks.

When I do sage -n jupyter I end up in Firefox on page localhost:8888/tree showing me 3 tabs Files/Running/Clusters. In the Running tabs I'm told there are no terminals or notebooks running.

How do I make a jupyter (or other) notebook, and what's the local equivalent of the enter key that lets me run a notebook cell ?


† I long wanted to go open-source. The need for Schoof–Elkies–Atkin point counting was what triggered the switch.

Preview: (hide)

Comments

sage -n jupyther ?? Try: sage --notebook jupyter

ortollj gravatar imageortollj ( 2 years ago )

@ortollj: my jupyther was a typo in the question, now fixed. It looks like --notebook is the same as -n

fgrieu gravatar imagefgrieu ( 2 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 2 years ago

fgrieu gravatar image

updated 2 years ago

Uh, I was missing the obvious: under the File tab (selected by default), the but-rightmost pull-down menu has "New/Sagemath 9.5".

And Ctrl-Enter executes the current cell.

Preview: (hide)
link

Comments

1

Congratulations for answering your own question ! Posting this answer is a Good Thing(TM), since it can be retrieved by any future (per-)user of this site with a similar problem.

You should accept your own answer to mark it as solved...

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2 years ago )

@Emmanuel Charpentier: I need 50 points (karma?) to accept my own answer, but hopefully that will come.

fgrieu gravatar imagefgrieu ( 2 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

1 follower

Stats

Asked: 2 years ago

Seen: 519 times

Last updated: Feb 07 '23