Jupyter Notebook and VSCode

How to connect VSCode to your Jupyter notebook server.

Written By chloe kwok

Last updated 9 months ago

Prerequisites

  1. VSCode installed

  2. Python installed

  3. Jupyter Extension for VSCode installed

Connecting VSCode to Your Notebook

  1. Open VSCode and start a new Jupyter Notebook with Command + Shift + P on Mac and Ctrl + Shift + P on windows

  2. In the top right corner, select the current kernel, which should prompt the search to appear. From here, choose to 'Select Another Kernel'

  3. This should prompt another set of selections to appear, where you can choose 'Existing Jupyter Server'

  4. Open Inference.ai and navigate to your desired server and select ‘Server Details’

  5. Copy and paste the link from the popup modal

  1. Navigate back to VSCode, paste the link, and hit Enter