Getting started on a Windows machine: Python

Download python from the developer website

Nagivate to https://www.python.org/downloads/windows/ and select the latest release (3+).

download-python.png

Download the .exe file for your version of Windows (probably the 64 bit). Note that I took these pictures a few years ago so the version numbers won't match what you see on your machine.

download-python2.png

Find the download in file explorer and double click to open the installer. Make sure to check the "Add python.exe to PATH" BEFORE you click "Install Now."

install-python-with-path.png

Check the installation

Open the terminal, type "python" and hit enter. You should see the python interpreter text appear (see below). To exit the interpreter, type "quit()" and hit enter.

python-test.png

Misc

If you already installed python and didn't select the "Add to path" button when installing, you will need to add it manually. Search for "Edit the system environment variables" and click to go to settings.

path1.png

Select path under "System Variables" and click "Edit" (shown in red). If you are using a computer where many people have shared profiles or with limited adminisntrative access, you can select path under User variables and hit the other Edit button (shown in yellow).

edit-path-wsl1.png

Click New on the following screen, and type C:\Users\<your username>\AppData\Local\Programs\Python\Python313\Scripts\ into the textbar. Click New again, and type C:\Users\<your username>\AppData\Local\Programs\Python\Python313\ (Note that depending on your version the the 313 part will change). See the paths in the image below. Click "OK" when you are done. Repeat the steps above for checking your installation.

edit-path-wsl2.png