This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: The Windows SDK version 10.0.15063.0 was not found
Type: compile error Stage: resolved
Components: Windows Versions: Python 3.6
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: isuruf, paul.moore, steve.dower, tim.golden, wjwwood, zach.ware
Priority: normal Keywords:

Created on 2017-12-24 05:40 by isuruf, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg308982 - (view) Author: Isuru Fernando (isuruf) * Date: 2017-12-24 05:40
When compiling python 3.6.4 on appveyor using MSVC 2015 following error occurs.

(C:\bld\python_1514037886491\_b_env) C:\bld\python_1514037886491\work\Python-3.6.4\PCbuild>"C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\MSBuild.exe"  "C:\bld\python_1514037886491\work\Python-3.6.4\PCbuild\pcbuild.proj" /t:Build /m /nologo /v:m /p:Configuration=Release /p:Platform=x64 /p:IncludeExternals=true /p:IncludeSSL=true /p:IncludeTkinter=true /p:UseTestMarker= /p:GIT="C:\Program Files\Git\cmd\git.exe"          
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 10.0.15063.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\bld\python_1514037886491\work\Python-3.6.4\PCbuild\pythoncore.vcxproj]

Note that appveyor Visual Studio 2015 image has only 10.0.10586, 10.0.14393 and 10.0.26624

Here's a simple patch that fixes this on 3.6 branch.
I haven't checked that the patch works on a machine with 10.0.15063
msg311523 - (view) Author: William Woodall (wjwwood) Date: 2018-02-02 23:14
I can confirm this bug using both VS 2015 and VS 2017 on Windows 10.

The patch provided by isuruf works for me too.
msg349637 - (view) Author: Isuru Fernando (isuruf) * Date: 2019-08-14 03:33
Fixed in
Date User Action Args
2022-04-11 14:58:56adminsetgithub: 76604
2019-08-14 03:33:34isurufsetstatus: open -> closed

messages: + msg349637
stage: resolved
2018-02-02 23:14:28wjwwoodsetnosy: + wjwwood
messages: + msg311523
2017-12-24 05:40:15isurufcreate