Working with Jupyter Lab/Notebook using VS Code Remote SSH

Running your code on mimi.uio.no from your local VS Code and browser using VS Code Remote SSH.

Image may contain: Font, Electric blue, Symbol, Circle, Graphics.

In this example we will run Jupyter Lab on mimi.uio.no.

  • Connect to mimi.uio.no with VS Code as described here
  • Open a terminal (Ctrl + Shift + Ø)
  • Load the module Anaconda/2022.05
[kjetba@mimi ~]$ module load Anaconda3/2022.05
  • Start Jupyter Notebook (or Lab)
[kjetba@mimi ~]$ jupyter notebook
  • This automatically create a port forwarding allowing you to access the notebook from you local browser. 
  • Start working in your browser. 

And yes, VS Code works great with Git!

Tags: jupyter, vscode, notebook, lab, git, mimi, modules, ssh By Kjetil Bakke
Published Aug. 2, 2023 2:08 PM - Last modified Aug. 3, 2023 10:14 AM