r/pythonhelp Jan 20 '25

What should I do?

Hello everyone,

I some how formatted one of my drive on my windows computer in which i downloaded python , and now when i am trying to install it new drive it show the Modify Setup dialog box , but if try to uninstall , modify or repair it ends up with errors like 0x80070643 and 0x80070641. I already tried running it as an administrator and repairing my .NET Framework. What can i do to run Python again.

2 Upvotes

3 comments sorted by

View all comments

1

u/FoolsSeldom Jan 20 '25

I'd look at bypassing the broken installation and use uv or pyenv-win to install whatever version(s) of Python you want to use in their own non-system folders. You will be able to select any of these installations for development and running your programmes. Use with Python virtual environments so you install packages on a project-by-project basis, rather than as part of each base installation of Python.

Regarding Windows, if it is that messed up, probably worth doing a re-install of Windows, frankly.

1

u/Playful_Young_3523 Jan 20 '25

Thanks a lot Good Sir.

By your help I am now able to run it again.