Sitemap

Install VS Code & Jupyter on Windows

3 min readMar 24, 2024

Start here:

Python

Install Python.

Press enter or click to view image in full size

Check these boxes and Install.

Press enter or click to view image in full size

Visual Studio Code

Download VS Code.

Press enter or click to view image in full size

Check all these boxes, and Install:

Press enter or click to view image in full size

Install the VS Code extension for Python.

Press enter or click to view image in full size

Run a file

In VS Code, open a new Powershell terminal like this:

Press enter or click to view image in full size

Create a simple python file with the name “testfile.py”

You can run a python file from the command prompt with the command “py” — but not with “python” unless you make some updates.

Press enter or click to view image in full size

Jupyter

Install the jupyter extension for VS Code

Press enter or click to view image in full size

Follow the prompt to being a new jupyter notebook. Try running a cell, and Windows will invite you to install the ipykernel package.

Press enter or click to view image in full size

You should now be able to run notebooks in VS Code.

Optional: install git for Windows

Personally I find all of these helpful:

Press enter or click to view image in full size

Optional: install Windows Linux Subsystem

Open Windows powershell and type wsl — install

You’ll need to reboot your machine for this to take effect.

--

--

No responses yet