Ask Your Question

Installing and running JupyterLab for SageMath in Windows

asked 2021-02-12 11:44:20 +0200

anonymous user


updated 2021-02-12 12:29:05 +0200

slelievre gravatar image

I already followed following process I installed jupyterlab from SageMath console by command pip install jupyterlab. But when I am typing n jupyterlab in sage console then error of invalid syntax is coming.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-02-12 12:27:50 +0200

slelievre gravatar image

Installing Sage using the Sage-Windows installer usually places several icons on the desktop:

  • SageMath x.y --- to launch the Sage REPL (i.e. "read-eval-print loop" or "command-line interface")
  • SageMath x.y Notebook --- to launch Jupyter Notebook and run Sage there
  • SageMath x.y Shell --- to run the "Sage shell" inside Cygwin

In the Sage shell, one can type pip install jupyterlab or sage -i jupyterlab_widgets which will install JupyterLab and its widgets (useful in order to use sage interacts in Jupyter sheets running in JupyterLab).

To run JupyterLab after installing it, open the Sage shell and run

 jupyter lab
edit flag offensive delete link more


Thanks for the answer

RG gravatar imageRG ( 2021-02-13 06:36:01 +0200 )edit

If it answers the question you can accept it by clicking the check mark at the top left of the answer below the answer's score.

That will mark the question as solved.

slelievre gravatar imageslelievre ( 2021-02-13 11:44:23 +0200 )edit

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: 2021-02-12 11:44:20 +0200

Seen: 3,550 times

Last updated: Feb 12 '21