Define “not opening” before fixing it
Nothing happening, Windows showing a security/policy message, and the installer flashing then closing are different failures. Record which one you actually see.
Download a fresh installer from the official Windows page
Replace only the downloaded setup file, not your existing Python installation. Make sure you downloaded a Windows package rather than source code or a package for another operating system. Launch it from a normal local folder such as Downloads.
Read the security or policy message instead of disabling protection
SmartScreen, reputation checks, organization policy, and administrator restrictions are not the same problem. Verify the installer came from Python.org and follow the exact Windows prompt. Do not globally disable antivirus or device protection just to force setup to launch.
On a company or school device, software installation can be intentionally restricted.
Use Python Install Manager when appropriate
Current Python documentation recommends Python Install Manager on supported Windows systems. If allowed, install the manager from Python.org or Microsoft Store and install a runtime from the terminal.
If py belongs to an older launcher,
pymanager is the unambiguous manager command.
If the installer opens briefly and closes
Restart Windows and try once more. If it still exits, run it only in a way that captures the error/log rather than repeatedly double-clicking. A repeatable exit is useful evidence.
Verify the result after setup opens
py --version
where.exe python
If setup completes but commands are missing, the problem has moved to PATH, aliases or command registration.
Confirm the installer matches Windows and your goal
Python.org can offer different artifacts for different versions. For normal Windows desktop installation, use the Windows download intended for your platform or the current Install Manager. A source archive is not a normal Windows setup program, and an embeddable package is intended for application embedding rather than a standard developer installation.
If you are following an old tutorial, verify that it has not sent you to an installer method that has changed for current Python releases.
Check the downloaded package before changing Windows
- Open File Explorer and confirm the file is a Windows installer or Install Manager package—not a source archive, web page, or zero-byte/incomplete download.
- Open Properties and check the file type and digital-signature information. If the download is incomplete or its origin is unclear, delete only that download and fetch it again from Python.org.
- Copy the fresh package to a normal local folder. Do not launch it directly from inside a ZIP, email preview, browser temporary location or network share.
- Note the exact Windows dialog. “Windows protected your PC,” “blocked by administrator,” and an app crash require different next steps.
If an official fresh package still exits immediately, use the
supported Install Manager route when compatible, or capture the
repeatable failure for installation troubleshooting. Do not
rename a non-Windows package to .exe or switch off
protection globally.
Frequently asked questions
Why does nothing happen when I click the installer?
The file may be incomplete, blocked, incompatible or restricted by policy. A fresh official download plus the exact Windows message is the best starting point.
Should I turn off antivirus?
Not as a general repair. Verify the source and diagnose the specific Windows/security message.
Can I install Python without the classic .exe?
Yes on supported current Windows setups through the Python Install Manager route described by Python.
Related Python fixes
Continue with the page that matches the symptom you see after this step.
References
Installation behavior and commands were checked against current Python documentation on 10 August 2026.