This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Cannot install Python 3.10.3 on Windows
Type: Stage: resolved
Components: Windows Versions: Python 3.10
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: AlexWaygood, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2022-03-17 18:51 by AlexWaygood, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
error_messages-compressed.pdf AlexWaygood, 2022-03-17 18:51 Error messages shown when trying to install Python 3.10.3
installer_log_file.txt AlexWaygood, 2022-03-17 18:54
Messages (7)
msg415438 - (view) Author: Alex Waygood (AlexWaygood) * (Python triager) Date: 2022-03-17 18:51
I have tried several times now to upgrade to Python 3.10.3 using the 64-bit installer for Windows at https://www.python.org/downloads/release/python-3103/. Each time, I encounter an error message stating that "The feature you are trying to use is on a network resource that is unavailable". Further error messages include statements that "The older version of Python 3.10.3 Test Suite (64-bit) cannot be removed", and finally, "0x80070643 - Fatal error during installation".

Screenshots of the full error messages are attached.

Hardware details:
- Microsoft Windows 10 Home, Version 10.0.19043 Build 19043
- A x64-based PC
- An HP Pavilion Notebook laptop
- Processor AMD A8-7410 APU

Does anybody have any idea what might be going wrong?

I initially tried installing Python 3.10.3 with 3.10.2 still installed, but have now uninstalled Python 3.10.2 from my machine. It has made no difference.
msg415439 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-03-17 18:53
Looks like you may have "cleaned up" your package cache at some point, which means you can't uninstall the old version anymore.

Try getting the 3.10.2 installer and running it directly. If it's the right one, you'll get Modify/Repair/Uninstall options, and those should work. (At worst, "Repair" will work and then it should be uninstallable.)
msg415440 - (view) Author: Alex Waygood (AlexWaygood) * (Python triager) Date: 2022-03-17 18:54
Attaching the log file from the installation.
msg415441 - (view) Author: Alex Waygood (AlexWaygood) * (Python triager) Date: 2022-03-17 18:56
> Looks like you may have "cleaned up" your package cache at some point, which means you can't uninstall the old version anymore.

Not knowingly!

> Try getting the 3.10.2 installer and running it directly.

Thanks, I'll have a go.
msg415442 - (view) Author: Alex Waygood (AlexWaygood) * (Python triager) Date: 2022-03-17 19:00
Hmm, well if I try running the 3.10.2 installer, it now presents me with an error message saying that "a newer version of Python 3.10 is already installed".
msg415449 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-03-17 21:08
Okay, that kind of makes sense.

If you try to uninstall 3.10.3 (either through Programs & Features, or through the installer), how far can you get? Hopefully far enough that one of the 3.10.2 options will work, or possibly for a new 3.10.3 install to succeed.

Unfortunately, once an install gets corrupted like this, it gets real hard to clean things up. The next option is to find a tool that will remove MSI metadata from your system so you can just delete the installs that way, clean up the files manually, and start fresh. But there's no nice recovery here, I'm afraid.
msg416771 - (view) Author: Alex Waygood (AlexWaygood) * (Python triager) Date: 2022-04-05 11:21
(My solution for now has been to install python on my other laptop. Thanks for the help Steve!)
History
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91206
2022-04-05 11:21:38AlexWaygoodsetstatus: open -> closed

messages: + msg416771
stage: resolved
2022-03-17 21:08:10steve.dowersetmessages: + msg415449
2022-03-17 19:00:22AlexWaygoodsetmessages: + msg415442
2022-03-17 18:56:51AlexWaygoodsetmessages: + msg415441
2022-03-17 18:54:42AlexWaygoodsetfiles: + installer_log_file.txt

messages: + msg415440
2022-03-17 18:53:48steve.dowersetmessages: + msg415439
2022-03-17 18:51:45AlexWaygoodcreate