You know what has worked for me really well on windows.

My Computer > Properties > Advanced System Settings > Environment Variables >

Just add the path as C:\Python27 (or wherever you installed python)

OR

Then under system variables I create a new Variable called PythonPath. In this variable I have C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\lib-tk;C:\other-folders-on-the-path

This is the best way that has worked for me which I hadn't found in any of the docs offered.

EDIT: For those who are not able to get it, Please add

C:\Python27;

along with it. Else it will never work.

Answer from darren on Stack Overflow
🌐
Python
docs.python.org › 3 › using › windows.html
4. Using Python on Windows — Python 3.15.2 documentation
The --download=<PATH> option will download the packages for the listed tags and create a directory containing them and an index.json file suitable for later installation.
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-add-python-to-windows-path
How to add Python to Windows PATH? - GeeksforGeeks
July 12, 2025 - If no results appear then Python is not installed on your machine, download it before proceeding further. Click on open file location and you will be in a location where Python is installed, Copy the location path from the top by clicking over it.
🌐
Data to Fish
datatofish.com › add-python-to-windows-path
How to Add Python to Windows PATH
You can easily add Python to Windows PATH by downloading a recent version of Python and then checking the Add python.exe to PATH box at the bottom of the setup screen:
🌐
Real Python
realpython.com › add-python-to-path
How to Add Python to PATH – Real Python
July 23, 2026 - Test your knowledge of the PATH variable and learn how to add Python on Windows, Linux, and macOS for easy terminal access. Supplemental Code: Click here to download free supplemental code that’ll walk you through changing PATH across operating systems.
🌐
Liquid Web
liquidweb.com › home › help docs › server administration › windows server administration › adding python path to windows 10 or 11 path environment variable
Adding Python Path to Windows 10 or 11 PATH Environment Variable | Liquid Web
December 15, 2025 - If you’re new to RDP, you can review our guide on logging into your Windows Server for detailed instructions. Download and Run the Python Installer by navigating to the official Python.org website to download the latest installation package.
Find elsewhere
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › python
Python on Windows for beginners | Microsoft Learn
September 14, 2026 - Install Python: Install Python from the Microsoft Store. The Microsoft Store version automatically configures your PATH and provides automatic updates. Once installed, open PowerShell and run python --version to verify.
🌐
Python.org
discuss.python.org › python help
Python Installation - Python Help - Discussions on Python.org
December 7, 2023 - Hello, I recently got python downloaded in my system. able to open all terminals, Idle windows able to access Pycharm. but really not sure where is the exact location of Python installed when i try to check from Command…
🌐
Geek University
geek-university.com › home › topic index › add python to the windows path
Add Python to the Windows PATH · Geek University
PATH is an environment variable: a named configuration value inherited by processes such as terminals and applications. Its value is an ordered list of directories that Windows searches when you enter an executable command without its full path. For example, when you type python, Windows searches the directories in PATH for a matching executable, normally python.exe.
🌐
DigitalOcean
digitalocean.com › community › tutorials › install-python-windows-10
How to Install Python on Windows | DigitalOcean
September 26, 2025 - Learn how to install Python on Windows. This guide covers downloading Python, setting up PATH, verifying installation, and running your first script.
🌐
Python
python.org › downloads › windows
Python Releases for Windows | Python.org
Download using the Python install manager. ... Python 3.13.16 - Sept. 30, 2026 · Note that Python 3.13.16 cannot be used on Windows 7 or earlier.
🌐
MakeUseOf
makeuseof.com › home › programming › how to add python to the windows path variable
How to Add Python to the Windows PATH variable
October 13, 2020 - Adding to the PATH is powerful, ... as well. First off, if you've not installed Python on your machine, go to the python.org website to download and install ......
🌐
Geek University
geek-university.com › home › python online course › add python to path on windows
Add Python to PATH on Windows · Geek University
The correct PATH entry is the folder containing python.exe, such as C:\Python34; do not add the executable filename itself. Installation locations vary according to the Python version, installer choices, Windows account, and whether Python was installed for one user or for all users.
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to install python on windows
How To Install Python on Windows | phoenixNAP KB
March 20, 2025 - Note: Windows now includes winget by default, allowing users to install Python without manually downloading the .exe file. Use the following command: winget install Python.Python If you choose this option, skip to Step 4. Run the executable installer to configure important settings, such as adding Python to the system PATH and choosing installation options.
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to add python to path on windows, linux, and mac
How to Add Python to PATH on Windows, Linux, and Mac
December 12, 2025 - By default, Python is in the Python[version-number] directory located at: ... Note: AppData is a hidden directory. To access it, enable the Show Hidden Files option in File Explorer. Follow the steps below to find and copy the directory address: ... The options to modify the contents of the PATH variable are in the Environment Variables section of Windows System Properties.
🌐
GitHub
gist.github.com › roblanf › 6929493
Setting up Python 2.7 on Windows · GitHub
To do that, ignore everything below and just click here: ... Install Python ================= Download the Python installer from here: http://www.python.org/getit/. Make sure you download version 2.7. The instructions that follow assume you ...
🌐
YouTube
youtube.com › watch
How To Add Python to PATH in Windows - YouTube
The tutorial explains how to add Python to the Windows PATH in two different ways, allowing users to run Python scripts and access Python packages directly f...
Published: September 28, 2024
🌐
sqlpey
sqlpey.com › python › fix-python-path-windows
Fix Python Path on Windows: Step-by-Step Solutions - sqlpey
November 4, 2025 - In the System Properties window, click on “Advanced system settings” in the left-hand pane. ... In the System Properties dialog box that appears, click the “Environment Variables…” button. ... Under the “System variables” section (for all users) or “User variables” (for your ...