Skip to content

VS Code

Optional

Everything in Installation works from a terminal. This page is only for driving the same environment from VS Code.

Last validated not yet — see the checklist below
Validated by
VS Code version

Two settings, not one

This is the first-day question, and the source of most confusion: the interpreter (what .py files and the integrated terminal run on) and the notebook kernel (what .ipynb cells run on) are chosen separately. Setting one does not set the other.

1. Select the interpreter

Ctrl+Shift+P (Cmd+Shift+P on macOS) → Python: Select Interpreter → the entry under envs/rlbootcamp.

Remembered per workspace folder, so this is a once-per-project action.

Screenshot to be added — task A5.

2. Select the notebook kernel

Open any .ipynb → click the kernel name in the top rightPython Environmentsrlbootcamp.

Screenshot to be added — task A5.

3. Confirm

In a notebook cell:

import sys; print(sys.executable)

The path must contain rlbootcamp. If it does not, you changed the interpreter but not the kernel — repeat step 2. See notebook kernel troubleshooting.


Validation checklist

Task A5 on the volunteer board.

  • Steps above are accurate for the current VS Code release
  • Screenshots for both the interpreter picker and the kernel picker
  • A VS Code user goes from a fresh clone to a running notebook cell without asking for help