Python is a high-level general-purpose computer programming language. Among others, it is commonly deployed for listening to and communicating with devices over USB/serial ports.
Popular mobile phone service tools such as MTK Client, QID and the likes utilize python to talk to devices that are connected to a computer in EDL (emergency download mode) and BROM (Boot ROM) modes and from which devices partitions can be flashed, erased, unlocked or have the device resurrected even if it is hardbricked.
- Which Python Should You Install?
- How to Install Python on Windows PC
- Steps to Install Python on Windows PC
- Resolving Potential PowerShell Script Policy Issues with Python
- Fixing Common Problems and Upgrading Later
- Upgrading the Currently Installed Python Version
- How to Uninstall Python Whenever You Want to
- Conclusion
Which Python Should You Install?
As of the time this article is being updated, the newest release on python.org is Python 3.15.1, published on October 21, 2026. Python 3.14.9 and 3.13.17 were released the same day as maintenance updates for the older series, so all three are current.
So, which of the three should you pick? If you are learning or starting a fresh project, take 3.15.1. But if you rely on third-party packages, such as phone repair service tools, data-science or machine-learning libraries, check that the tool support version 3.15 first, because packages sometimes take weeks or months to catch up with a new major released version of Python.
In any case, version 3.14.9 is currently the safer choice, and you can install both side by side later.
The rest of this guide applies to any of them just as it does till up to version 3.8.X and slightly older versions. It covers downloading Python safely, installing it with the right options, checking that it works, and setting up a clean workflow so you avoid the usual Windows pitfalls.
How to Install Python on Windows PC
To install python on a Windows PC, you have a few options;
- Via Python Install Manager.
- And the traditional installer (.exe).
Whichever of the options listed from above is safe, the choice of which option to use now falls in whichever you find comfortable working with.
The instructions that follow below explains how to install Python using both of the options.
Steps to Install Python on Windows PC
-
Download From the Official Source
Only download Python from python.org/downloads/windows.
Search ads and look-alike sites sometimes offer modified installers, so type the address yourself or use a bookmark. And on arriving at the webpage, you'll find that the Windows page offers two routes:
- The Python install manager (currently version 26.4). This is the tool python.org points to for newer releases such as 3.14 and 3.15. It installs and updates Python runtimes for you and makes running several versions easy. It is available as an
.MSIXor.MSIpackage. - The traditional installer (
.exe). The same page still lists direct installers for each release. Choose the 64-bit version for almost every modern PC, or ARM64 for Windows on ARM devices such as Snapdragon laptops.
If you are unsure which to use, pick the install manager option. If you work on a locked-down PC where you cannot add the manager, or you follow a course that assumes the classic installer, use the
.exe.Instructions for both routes are covered below.
- The Python install manager (currently version 26.4). This is the tool python.org points to for newer releases such as 3.14 and 3.15. It installs and updates Python runtimes for you and makes running several versions easy. It is available as an
-
Run the Installer
For the install manager option:
- Double-click on the downloaded
.msixor.msifile to open it and follow the prompts. It installs the manager itself, not Python yet. - Open a new Command Prompt or PowerShell window and run:
py install 3.15 - If the tool asks whether to configure the python command or to add it to your PATH, accept. This is the installation configuration that lets you type
pythoninstead of a full file path. - To see what is installed, run
py listin the command prompt or PowerShell window. To add another version later, runpy install 3.14also in command prompt or PowerShell window. Runpy helpfor the full list of commands, since options change between manager releases.
For the traditional
.exeinstaller:- Double-click the downloaded file, for example
python-3.15.1-amd64.exe. - On the first screen, tick "Add python.exe to PATH". This is the single most important checkbox. Missing it is the cause of most "python is not recognized" errors.
- Click Install Now for a per-user install with default settings. Choose Customize installation only if you need an all-users install or a specific folder.
- If offered, click Disable path length limit at the end. It removes the old 260-character Windows path limit, which can break installs of packages with long file names.
- Close the installer when it reports success.
Do not mix the two without cleaning up!
Installing the same version through both routes creates confusion about which copy runs when you type
python. Pick one route per version. If you already have an old Python, open Settings > Apps > Installed Aps, find it, and uninstall it first. The only exception would be when you still need it for existing projects. - Double-click on the downloaded
-
Verify the Installation
Close any open terminal windows, then open a fresh Command Prompt or PowerShell to test and verify the installation. This is because old windows keep the
PATHthey started with, so they will not see the new install.python --version pip --versionThe first command should print the version you installed, for example Python 3.15.1. The second should show pip's version and a path inside your Python folder.
Moreso, for a functional test, you can run this syntax in comand prompt or PowerShell:
python -c "print('Hello from Python')"If typing
pythonopens the Store or prints nothing instead, open Settings > Apps > Advanced app settings > App execution aliases and turn off the entries forpython.exeandpython3.exe. Then reopen your terminal.The py Launcher
Windows also provides a
pycommand that finds installed versions for you. It works even whenPATHis not set, which makes it a reliable fallback. Here is an example syntax:py --version py -3.14 --versionThe second line asks for a specific installed version, which is how you run an older Python alongside a newer one.
-
Set Up pip and Virtual Environments
Installing Python is half the job. The other half is keeping your projects from interfering with each other. The habit that prevents most future headaches is simple: never install project packages into the global Python. Use a virtual environment for each project instead.
To proceed with this:
-
Update pip
python -m pip install --upgrade pipRunning
pipaspython -m pipguarantees you are using the pip that belongs to that exact Python, which matters when several versions are installed. -
Create and use a virtual environment
cd C:\Users\you\projects\myapp python -m venv .venv .venv\Scripts\activateNOTE: Replace your PC's username with the "you" that apears in the first line above. Your prompt now begins with (.venv), which means anything you install goes into that folder only:pip install requests pip listWhen you finish, type
deactivate. To start over, delete the.venvfolder and create it again. Nothing else on your PC is affected.
-
Resolving Potential PowerShell Script Policy Issues with Python
In PowerShell, activation can fail with a message saying scripts are disabled. To resolve this, either use Command Prompt, or allow scripts for your own account only by executing this syntax:
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
Save your Dependencies
This allows you record what a project needs so you can rebuild it later:
pip freeze > requirements.txt
pip install -r requirements.txt
Fixing Common Problems and Upgrading Later
| Problem | Likely Cause | Fix |
|---|---|---|
| "python is not recognized" | PATH box unticked, or an old terminal | Reopen the terminal; otherwise rerun the installer, choose Modify, and enable PATH, or use py |
| python opens the Microsoft Store | App execution aliases are on | Turn off the python.exe aliases in Settings |
| Wrong version runs | Older Python earlier in PATH | Run where python to see the order; remove the old install |
| pip installs to the wrong Python | Plain pip points elsewhere | Use python -m pip |
| Install fails with long-path errors | 260-character limit | Enable long paths, or tick the option at the end of the installer |
| Package will not install on the newest Python | No compatible build published yet | Wait for an update, or create the environment with an older version such as py -3.14 -m venv .venv |
Upgrading the Currently Installed Python Version
Python patch releases, for example; when version 3.15.1 upgrades to 3.15.2. These are safe drop-in upgrades within the same minor version. With the install manager, you can simply run py install for the version again or follow py help for its update option.
With the traditional installer (.exe), download the newer .exe file and run it; it automatically replaces the older patch release in place.
Moving to a new minor version, such as 3.14 to 3.15, installs alongside the old one. Your existing virtual environments keep using the Python they were built with, so rebuild them from requirements.txt when you are ready to switch.
How to Uninstall Python Whenever You Want to
To uninstall Python, go to py uninstall with the manager. Remember to Delete the leftover .venv folders by hand.
Conclusion
A proper Python setup on Windows comes down to five habits:
- Download only from python.org.
- Tick the
PATHoption (or let the install manager configure it). - Open a fresh terminal and verify with
python --version - Keep each project in its own virtual environment.
- And, use
python -m pipso packages always land in the right place.
Get those right once and the usual Windows frustrations mostly disappear. From here, you can setup a Qualcomm devices service tool such as bkerler edl, install an editor such as VS Code, create a project folder with a .venv, and start writing code.