Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Windows 7 - Installation Fail 0x80240017

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

like image 913
Sessha Avatar asked Sep 19 '15 20:09

Sessha


5 Answers

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.
like image 125
LUKA Avatar answered Oct 18 '22 06:10

LUKA


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.

like image 39
Anshu Avatar answered Oct 18 '22 05:10

Anshu


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

like image 23
George Fischhof Avatar answered Oct 18 '22 07:10

George Fischhof


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.

like image 29
PythonNewbie001 Avatar answered Oct 18 '22 06:10

PythonNewbie001


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.

like image 1
DeeMan Avatar answered Oct 18 '22 05:10

DeeMan