Skip to content

Instantly share code, notes, and snippets.

@jdalbey
Created November 21, 2024 05:16
Show Gist options
  • Save jdalbey/3de4fed637338ed8c5049a3253881a4d to your computer and use it in GitHub Desktop.
Save jdalbey/3de4fed637338ed8c5049a3253881a4d to your computer and use it in GitHub Desktop.
Install Python on Windows

Here's a step-by-step guide for installing the latest Python release on Windows:

  1. Go to the official Python Downloads page.

  2. Download the Windows Installer:

    • You’ll see a prominent button that says Download Python X.X.X (where "X.X.X" is the latest version). This is usually the recommended version for most users.

    • Click the button to download the Python installer for Windows.

  3. Once the installer is downloaded, open the Downloads folder and double-click the installer file to start the installation process.

    • Important: At the first screen, check the box that says Add python.exe to PATH. This ensures that Python is added to your system's environment variables, making it accessible from the Command Prompt or PowerShell.

    • Click Install Now

  4. When the installation is finished, you’ll see a screen that says Setup was successful. Click Close to exit the installer.

  5. Verify Installation:

    • Press the Windows key and type Command Prompt (or cmd). Open the Command Prompt from the search results.

    • In the Command Prompt window, type:

    python --version

    You should see output indicating which version of Python is installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment