Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
added VC Code WSL Jupyter section
Browse files Browse the repository at this point in the history
  • Loading branch information
louisng114 committed Apr 15, 2022
1 parent c594103 commit 8a4eb05
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/doc/en/installation/launching.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,14 @@ You can check the presence of some of these packages using the command
following code in the notebook::

plot3d(lambda u,v:(u^2+v^2)/4-2,(-2,2),(-2,2)).show(viewer="jmol")

Using Jupyter notebook through Visual Studio Code (VS Code) in WSL
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Here are steps to use SageMath in a Jupyter notebook in VS Code:

* Install and run VS Code.
* Click the "Extension" icon on the left (or press Ctrl + Shift + X) to open a list of extensions. Install "Remote - WSL".
* Press F1, enter "Remote-WSL: New Window", and hit Enter.
* Press F1, enter "Create: New Jupyter Notebook", and hit Enter.
* Click "Select Kernel" on the right (or press Ctrl + Alt + Enter), select SageMath, and hit Enter.

0 comments on commit 8a4eb05

Please sign in to comment.