Can't download Python

Hi, I’m trying to download Python on my HP envy perthe instructions on this page. When I run the installer though, I get this error message:

I know I can also download Python through the Microsoft store, but when I do that, I can’t get it to work with git bash. Any ideas?

  • What are the errors in the log file?

  • what OS do you have? If you have Windows 7 or earlier, you cannot download Python 3.11.5.

  • Do you have permission to install things on the machine? (it’s not a work computer).
    - Did you try right-clicking on the set up file and selecting, “run as Administrator”?

  • Did you restart after installing?

Hi Lisalisaj,

Thanks for your help! The errors were:
[1BF0:4BA8][2023-09-21T14:08:07]w363: Could not create system restore point, error: 0x80070422. Continuing…
[1BF0:4BA8][2023-09-21T14:08:37]e000: Error 0x80070641: Failed to install MSI package.
[1BF0:4BA8][2023-09-21T14:08:37]e000: Error 0x80070641: Failed to execute MSI package.
[2808:5F2C][2023-09-21T14:08:37]e000: Error 0x80070641: Failed to configure per-machine MSI package.
[2808:5F2C][2023-09-21T14:08:37]w348: Application requested retry of package: core_AllUsers, encountered error:

I have Windows 11, it’s my personal computer, and I did try restarting. I just tried running the installer as an administrator and I got the same message.

You might have to uninstall and reinstall.

Did you try this:

Or, looking up those MSI error messages?

The troubleshooter couldn’t identify the issue. I did look up the error messages and none of the solutions I’ve found have worked. I get the same error. I have been able to install python as an app through the Microsoft store but I don’t know how to integrate it with git bash

When you installed Python did you check the box that says “add to PATH”?

When you install python from the microsoft store it doesn’t give you that option. It also installs it to the application folder and you are unable to move it

I’m not sure what all you may have tried, but perhaps this link might help. How to Install Python on Windows 11 and Fix Python not Recognized | k0nze

1 Like

If you are in powershell you can check if you have python properly installed via the py -0p command. Additionally, sorry if this was mentioned before, but make sure you use the 64-bit installer and not the 32-bit. As far as I know windows 11 is 64-bit only and there is a small a small chance you have been trying the 32-bit msi.

1 Like

I wish that was the case and it was that simple haha but no, I’ve been using the 64-bit installer

Did you try uninstalling everything and starting over again? Try these steps that I posted above: