Python Windows 7 - Installation Fail 0x80240017

9

I tried installing Python 3.5.0 on my laptop, running Windows 7, and it would keep returning with a "Setup failed" with 0x80240017 - Unspecified Error.

I've tried running as admin and with the three different installers on the site.

Here is the log file: http://pastebin.com/9yuXv1qK

python
installation
failed-installation
asked on Stack Overflow Sep 19, 2015 by Sessha

8 Answers

4

I have faced the same issue -unspecified error during installation Package: python-3.6.0-amd64.exe Platform: Windows Embedded standard, 64-bit.

Solution that worked for me:

  1. Uninstall the corrupted Python installation.
  2. Install KB2999226.
  3. Install Python as Administrator.
answered on Stack Overflow Feb 5, 2017 by LUKA • edited Feb 5, 2017 by Stephen Rauch
2

It is throwing that error because it is trying to install that KB (2999.. something) and failing. If you try to install that KB yourself, it might fail too, as it has some minimum OS requirements. In my case, it was Service Pack 1 for Windows 7. After installing Service Pack 1 I was able to install Python 3.5.x fine.

answered on Stack Overflow Nov 28, 2015 by Anshu • edited Nov 28, 2015 by David Arenburg
2

I collected the required update packages to install python on win 8.1 This topc is related to the following one as well:

Python install failed windows 8.1- Error 0x80240017: Failed to execute MSU package

the packages (I did not check the subset of packages, but if you install the all, python can be installed. There are some packages that requires another one before install, the required one is listed here as well. So if the install says "this upgrade is not suitable for this machine" just go on, install other packages, and when you finished, install the remaining packages that you were not able to install before.

clearcompressionflag.exe

Windows8.1-KB2887595-v2-x64.msu

Windows8.1-KB2898514-x64.msu

Windows8.1-KB2901101-x64.msu

Windows8.1-KB2906956-x64.msu

Windows8.1-KB2908174-x64.msu

Windows8.1-KB2919355-x64.msu

Windows8.1-KB2919442-x64.msu

Windows8.1-KB2932046-x64.msu

Windows8.1-KB2934018-x64.msu

Windows8.1-KB2937592-x64.msu

Windows8.1-KB2938439-x64.msu

Windows8.1-KB2959977-x64.msu

Windows8.1-KB2999226-x64.msu

As it can be seen I used win 8.1 x64. The total size of these packages is about 1 GB. These all are downloadable from microsoft update center.

BR, George

answered on Stack Overflow Oct 24, 2016 by George Fischhof • edited Oct 24, 2016 by George Fischhof
1

I am also using win 7 home premium SP1 and encountered this problem, I solved it by:

  1. Go the Windows Update in the Control Panel

  2. Search for the installed update named KB2999226

  3. Uninstall that update

And DONE!!!

Honestly, use this method at your own risk as I am just a newbie in programming and have no idea what that Windows Update was for. But I did it anyways.

answered on Stack Overflow Apr 6, 2016 by PythonNewbie001
1

I was trying to install Python 3.6.0 on Windows 7 64x laptop and kept getting stuck on installing KB2999226. So, I read what others did on this forum(Fabio Consultant). A previous post mentioned Visual Studio. So, I went to Programs and Features (where you Uninstall a Program), right clicked on the most recent install of Visual Studio, selected "Change" and did a "repair". Once that completed, I installed Python as an Administrator (right click on the .exe file and "run as Administrator") and Python installed without a problem. I didn't see that the install tried to install KB2999226.

Details on KB2999226 (https://support.microsoft.com/en-us/kb/2999226). It looks like repairing Visual Studio corrects issues with CRT. Someone correct me if Im wrong.

Hope this helps.

answered on Stack Overflow Dec 24, 2016 by DeeMan • edited Dec 24, 2016 by DeeMan
0

Just in case are facing it with Windows 7 for PCs:

Very simple, reinstall Windows Service Pack and repair the Visual C++ Redistributable and bingo, the error disappears.

In case of difficulties, uninstall all the software involved (Visual C++, etc.) and reinstall as the proper sequence.

answered on Stack Overflow May 23, 2016 by Fabio Consultant • edited May 23, 2016 by Benjamin W.
0

In my case, I have an application installed in my computer which has python installation in it. I was not able to search it from normal PC search. Just try installing "everything" software if you have complex installation of software like me.

Once you get the path for python installation, add this path to environment (System's) variable and you are good to go.

answered on Stack Overflow Dec 12, 2017 by Nazma
0
  1. Go to https://www.microsoft.com/en-us/download/details.aspx?id=5842

  2. Click Download button and Scroll down to see all files

  3. Select windows6.1-KB976932-X86.exe (32-bit) or windows6.1-KB976932-X64.exe (64-bit).

  4. Click Next

  5. Install this and then install Python

Happy Coding :)

answered on Stack Overflow Jul 20, 2019 by Vishnu Priyaa

User contributions licensed under CC BY-SA 3.0