Joakim Karlsson added the comment:

I got this working on a Windows 8.1 box with the following mess. Hopefully 
someone more capable than me can piece together a viable fix from this.

I downloaded and executed the Visual C++ Redistributable for VS 2015 here: 
https://www.microsoft.com/en-us/download/details.aspx?id=48145

I then watched that installation fail with the same error as in the python 
installer.

>From the steps described here: http://stackoverflow.com/a/31536998

1. Copy the file "C:\ProgramData\Package 
Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu"
 to c:\temp\

(Note: the guid in the path above is not the same as in the stack overflow 
answer. It seems it may vary)

2. From an elevated (important!) command prompt:

>cd c:\temp
>mkdir extracted
>wusa.exe Windows8.1-KB2999226-x64.msu /extract:extracted

(Make sure files are extracted to the new dir)

>dism.exe /Online /Add-Package 
>/PackagePath:extracted\Windows8.1-KB2999226-x64.cab

3. Run vc_redist.x64.exe again, and choose repair

4. Now, I could finally install Python (3.5.1)

----------
nosy: +Joakim.Karlsson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25157>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to