classification
Title: Unable to install Python 3.9.1 - Windows 10
Type: Stage:
Components: Installation, Windows Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: adrian.e.d.lloyd, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2021-02-04 16:53 by adrian.e.d.lloyd, last changed 2021-02-09 18:11 by steve.dower.

Messages (3)
msg386485 - (view) Author: Adrian Lloyd (adrian.e.d.lloyd) Date: 2021-02-04 16:53
I get the following error when I try to install Python 3.9.1 on windows 10

0x80070659 The installation is forbidden by system policy.

The log gives more information:

[13A0:0FC0][2021-02-04T16:41:04]e000: Error 0x80070659: Failed to install MSI package.
[13A0:0FC0][2021-02-04T16:41:04]e000: Error 0x80070659: Failed to configure per-user MSI package.
[13A0:0FC0][2021-02-04T16:41:04]i319: Applied execute package: core_JustForMe, result: 0x80070659, restart: None
[13A0:0FC0][2021-02-04T16:41:04]e000: Error 0x80070659: Failed to execute MSI package.


I have looked on earlier posts and stack overflow and all suggest a registry fix to set DisableMSI = 0 in the registry, but according to windows documentation this doesn't apply to windows 10. Also the Installer folder which would contain this parameter doesn't exist.

Can you help?
msg386733 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-09 18:11
Yeah, system policy is not something we can work around.

If you can, maybe try installing for all users? (Under customised install options.) You might have to right click the installer and run as an administrator, which sometimes helps get around these policies.

There's almost certainly nothing we can change that would prevent this, so we'll eventually close this issue as not a bug. But will leave it open for now to see if we can get you going.
msg386734 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-09 18:11
Oh, you might also be able to install Python from the Microsoft Store more easily - open the Store app and search for it. It's identical, just packaged differently.
History
Date User Action Args
2021-02-09 18:11:52steve.dowersetmessages: + msg386734
2021-02-09 18:11:11steve.dowersetmessages: + msg386733
2021-02-06 08:50:09terry.reedysetnosy: + paul.moore, tim.golden, zach.ware, steve.dower
components: + Installation, Windows
2021-02-04 16:53:25adrian.e.d.lloydcreate