Got the same error after lot of research i found the below thing...It works like a charm..100% worked for me

First...Make sure to check the setup package for your system that is X86 or x64, download packages based on the system before you proceed, otherwise the hack wont work. The below is explained for x64 bit windows 8.1 system with a 64 bit Python setup package use the below mentioned setup name(.exe file) in Step1: and search in google for downloading the Python setup

if the following error comes while installing Python 3.5.0 Setup in windows 8.1 64 bit Operating Sys- Error 0x80240017: Failed to configure per-machine MSU package

Start CMD as Admin, after that

Step1: ~YourFilePath/python-3.5.0-amd64.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0

Step2: ~YourFilePath/python-3.5.0-amd64.exe

~YourFilePath stands for the location of the python-3.5.0-amd64.exe file in your PC Example: E:\Softwares\python-3.5.0-amd64.exe

now after executing the Step2: the setup will run without any errors..... Cool....

The above mentioned steps should work or else If you find any difficulties please visit here which explains the process in detail. Good Luck...


Got the same message error while trying to install Python 3.5.0 (released 2015-09-15) on Windows 8.1 64-bit.

Two solutions :

  • Download and install KB2999226 from Microsoft website (https://www.microsoft.com/en-us/download/details.aspx?id=48234), restart your computer and lauch the Python 3.5.0 installer again.
  • Install the previous stable version, Python 3.4.3, which you can found here (scroll down a bit) : https://www.python.org/downloads. It doesn't include the KB which is causing the problem.