Error 2502/2503 also appeared when I installed msi files in windows10
I also solved the specific steps through the previous methods as follows (click to view) :
Win10 installation mSI prompt 2502, 2503 error code (successfully resolved)
However, when I installed Python today, I could not solve it according to the previous methods. I searched again by myself, and finally solved the following problems:
The reason is that the C:\Windows\Temp folder NTFS has the wrong permissions. It is OK to change its User permissions to full control.

I changed the full control permission of the TEMp myself

And then just reinstall it
I also solved the specific steps through the previous methods as follows (click to view) :
Win10 installation mSI prompt 2502, 2503 error code (successfully resolved)
However, when I installed Python today, I could not solve it according to the previous methods. I searched again by myself, and finally solved the following problems:
The reason is that the C:\Windows\Temp folder NTFS has the wrong permissions. It is OK to change its User permissions to full control.

I changed the full control permission of the TEMp myself

And then just reinstall it

Read More:
- The solution of the error code is 2503 in Python installation
- Notes: Windows Python installation and removal error 2203 / 2502 / 2503
- Failed to write output file ‘C:’ windows\ Microsoft.NET \Framework64\v4.0.30319\Temporary ASP.NET Files\root\106f9ae8\cc0e1
- [Windows 7 – how to delete files protected by trustedinstaller win7 force deletion of files]
- Linux mounting errors (Error mounting /dev/sda8 at /media)
- Invalid archiveerror reported by CONDA
- Internal error 2203 C:\windows\Installer
- Windows encountered 1152 when installing software: error extracting files to the temporary location
- Visual Studio 2005 — Error code 1603 for this component means “Fatal error during installation.
- Mount windows NTFS partition under Linux
- Solving the problem of can’t create temporary directory of CVS under Windows
- Unable to find VBScript script engine or error 2738, could not access VBScript runtime
- About the cause of the long-standing ADO error: unspecified error “(error code = 0x80004005) (excerpt from the Internet)
- Cannot read configuration file due to insufficient permissions
- Windows Visual C + + 2005 redistributable error 1935 solution
- Error Ubuntu file permission not enough (RM)
- “Permission denied” error in Oracle10g installation
- VirtualBox for macOS NS_ ERROR_ Failure (0x80004005) problem solving record
- python: This application failed to stat could not find or load the Qt platform plugin “windows”
- About the problem I encountered: 226 transfer done but failed to open directory