Closed
Description
Description:
Running actions/setup-python@v5
on a self-hosted Windows 11 runner, despite the fact that Python 3.10 is already installed on the runner and is available to all users, results in an error due to being unable to edit registry keys.
Action version:
v5
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
3.10.0
Repro steps:
- Set up the runner as a service on a self-hosted Windows 11 machine.
- Install Python 3.10.
- Restart the machine.
- Attempt to run the
setup-python
action with the version set to 3.10, as below:
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
Expected behavior:
Python is set up, allowing tasks like pytest to be run.
Actual behavior:
The action throws the following error message:
Version 3.10 was not found in the local cache
Version 3.10 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.10.[11](https://github.com/ansys-internal/crtech-test-tools/actions/runs/15353688916/job/43208044424?pr=37#step:3:12)-11114431484/python-3.10.11-win32-x64.zip"
Extract downloaded archive
"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('C:\actions-runner\_work\_temp\python-3.10.11-win32-x64.zip', 'C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath 'C:\actions-runner\_work\_temp\python-3.10.11-win32-x64.zip' -DestinationPath 'C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836' -Force } else { throw $_ } } ;"
Execute installation script
Check if Python hostedtoolcache folder exist...
Check if current Python version is installed...
Python3.10 (x64) was found in C:\actions-runner\_work\_tool\Python...
Deleting C:\actions-runner\_work\_tool\Python\3.10.11\x64...
Remove registry entries for Python 3.10(x64)...
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
+ ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
ption
+ FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
+ ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
+ ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
Error: + ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
Error: + ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
Error: + ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
Error: + ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
Error: + ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
Error: + ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:35 char:17
Error: + ... Remove-Item -Path $key.PSParentPath -Recurse -Force -Verb ...
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...1-5-18\Products:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
+ Remove-Item Registry::$_ -Recurse -Force -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
+ Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
+ Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
+ Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:43 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_CLASSES_ROOT\Installer\Products:String) [Remove-Item], SecurityE
Error: xception
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
+ Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
+ Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
Error: + Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Error: Remove-Item : Requested registry access is not allowed.
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:56 char:13
+ Remove-Item Registry::$_ -Recurse -Force -Verbose
Error: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...rsion\Uninstall:String) [Remove-Item], SecurityExce
Error: ption
Error: + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.RemoveItemCommand
Create Python 3.10.11 folder in C:\actions-runner\_work\_tool\Python
Copy Python binaries to C:\actions-runner\_work\_tool\Python\3.10.11\x64
Install Python 3.10.11 in C:\actions-runner\_work\_tool\Python...
Error: Error happened during Python installation
Error: At C:\actions-runner\_work\_temp\f9f3160f-d9f9-41bc-a214-5dfcc6557836\setup.ps1:[12](https://github.com/ansys-internal/crtech-test-tools/actions/runs/15353688916/job/43208044424?pr=37#step:3:13)7 char:5
+ Throw "Error happened during Python installation"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Error happened ...on installation:String) [], RuntimeException
+ FullyQualifiedErrorId : Error happened during Python installation
Error: The process 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' failed with exit code 1