Asra Khalid
2 min readAug 9, 2019

Python Installation Error on Windows 7: Setup Failed

So today while installing python 3.7.4 on my PC the installer showed me an error.

To fix this I did some internet research and found an easy solution. Follow the steps and you will solve this problem in no time!

  1. Go to 'my computer' and right click on it. It will show you something like this:

2. Close the window and press 'Windows + r' (you can find the windows key on your keyboard).

3. It will open up a small windows type 'regedit' and click 'ok’.

4. After pressing okay a window will pop up asking for User Account Control. Click ‘yes’.

5. Registry Editor will show up. Scroll down and find SYSTEM>ControlSet001>Control>Windows.

6. Inside windows folder you will find a file named 'CSDVERSION’.

7. Right click on CSDVERSION and select 'Modify’.

8. Remove 0 from ‘value data' and type 100.

9. Click ok and restart your PC.

That’s it! After restarting you PC you can easily install python.

P.s. If you have any better way to solve this issue feel free to comment below.