Stanley Solutions Blog

engineering and creativity - all under one hat

My Way of Intalling Python on Windows in 2022


Python is a bit of a tricky subject on Windows, and that's why I've developed my own "best practice" for installing it on my systems. Let me briefly walk you through the steps.

1) Download the latest version of Python

Step 1 - Download the Latest Python

2) Run the installer

but make sure you check "Add Python to Path" and use the "Customize" option for installation

Step 2 - Run the Installer

3) Select Everything!

Step 3 - Select Everything

4) Select "Install for All Users" and Customize the Installation Path

This will make sure that Python is installed in a simple, and accessible place. I find it VERY helpful to have Python rooted at the C:\ drive level. You can argue with me; that's fine. This is just the way I do it. Step 4 - Change the Path

5) Install!

6) Verify the Path

It's time to make sure that Python got installed and the Path variable was set correctly.

Press your Windows key and search for "path". Then open the "Edit the system environment variables" dialog. Step 6 - Verify the Path

From the dialog, select "Environment Variables" in the bottom-right.

Then, in the bottom window, make sure that you can see "C:\Python311\Scripts\" and "C:\Python311\" listed in the "Path" variable. If they're not there, double click on the "Path" variable, and add them! Step 6 - Verify the Path


That's about it! Have fun with the faster, newer, Python, everyone!