classification
Title: Python 3.6 won't install on Windows 2012 R2
Type: Stage: resolved
Components: Windows Versions: Python 3.6
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Lane Campbell, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2017-02-17 00:03 by Lane Campbell, last changed 2017-02-17 12:58 by eryksun. This issue is now closed.

Messages (4)
msg287973 - (view) Author: Lane Campbell (Lane Campbell) Date: 2017-02-17 00:03
When trying to install Python 3.6 using the "python-3.6.0-amd64.exe" installer on Windows 2012 R2 I encounter a failure.  

I'm flagging the options in the installer for:
Customize Installation
Add Python 3.6 to PATH
Leaving all Optional Features selected 
Under Advanced Options I'm checking "Install for all users" and letting Python's installer select "Precompile standard library".  
This is what the installer outputs when it fails: http://pastebin.com/XUzVJ1Y5

I've tried to download KB2999226 & KB3118401 manually but they say they aren't for my version of Windows.  I believe that the Python installer is detecting my version of Windows is 8.1 and isn't installing because of the Windows dependencies also fail since they are for version 8.1 (or at least appear to be).
msg287974 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2017-02-17 01:06
To install KB3118401 [3], you may first need to install KB2919442 [1] and KB2919355 [2]. The installation order would be as follows:

KB2919442:
    Windows8.1-KB2919442-x64.msu

KB2919355:
    clearcompressionflag.exe
    Windows8.1-KB2919355-x64.msu
    Windows8.1-KB2932046-x64.msu
    Windows8.1-KB2959977-x64.msu
    Windows8.1-KB2937592-x64.msu
    Windows8.1-KB2938439-x64.msu
    Windows8.1-KB2934018-x64.msu

KB3118401:
    Windows8.1-KB3118401-x64.msu

[1]: https://www.microsoft.com/en-us/download/details.aspx?id=42153
[2]: https://www.microsoft.com/en-us/download/details.aspx?id=42334
[3]: https://www.microsoft.com/en-us/download/details.aspx?id=50410
msg287980 - (view) Author: Lane Campbell (Lane Campbell) Date: 2017-02-17 09:06
Thanks Eryk, in case this helps anyone else the system is a new install of Windows 2012 R2 as of this week that I updated with all applicable Windows updates.

I tried your approach and succeeded after got the following for two of your packages:

KB2919442 - http://clicky.strapr.com/2W202P2k363m

KB3118401 - http://clicky.strapr.com/3N301p281b0d

The updates in KB2919355 did install and that seemed to fix the error.  Thank you so much!
msg288003 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2017-02-17 12:58
That's good news. As far as I can see, there isn't anything Python's installer can do if the CRT update fails for reasons beyond our control, so I'm closing this as a 3rd party issue. Thank you for the report.
History
Date User Action Args
2017-02-17 12:58:51eryksunsetstatus: open -> closed
resolution: third party
messages: + msg288003

stage: resolved
2017-02-17 09:06:31Lane Campbellsetmessages: + msg287980
2017-02-17 01:06:29eryksunsetnosy: + eryksun
messages: + msg287974
2017-02-17 00:03:48Lane Campbellcreate