Setup Failed on 3.12.2 version

Im new to phyton, I have problem with my pyhton,so i uninstall it, and try to reinstall,but it keep saying that the setup failed and a code about fatal error during installation,somebody please help me

Try Spyder. It has a better user interface:

Though still attempt to download IDLE from so that you can point to the most up to date python interpreter v3.12. Spyder currently comes with v3.8.

What does the log file (it links to it) say?

If I put that error code along with python into a search engine, I get many useful results right off the top.

From Stack Overflow:

From the Python issue tracker on GitHub:

… and previously on this forum: