classification
Title: After installation on Windows7, 64bit Python 3.9.0b5 reports "api-ms-win-core-path-l1-1-0.dll" missing and doesn't start
Type: crash Stage: commit review
Components: Windows Versions: Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: steve.dower Nosy List: Martin Borus, eryksun, miss-islington, paul.moore, steve.dower, tim.golden, zach.ware
Priority: deferred blocker Keywords: patch

Created on 2020-07-27 17:07 by Martin Borus, last changed 2020-07-28 16:53 by steve.dower.

Pull Requests
URL Status Linked Edit
PR 21656 merged steve.dower, 2020-07-28 11:44
PR 21661 merged miss-islington, 2020-07-28 15:35
Messages (7)
msg374403 - (view) Author: Martin Borus (Martin Borus) Date: 2020-07-27 17:07
I just installed Python 3.9.0b5 using the provided beta installer python-3.9.0b5-amd64 on a Windows7, 64bit machine.

I did the installation without the Py Launcher update, into the folder "c:\python39"

The installer finished without problem.

Running "cmd.exe", navigating to "c:\python39" and then running python.exe results in an error message popup which tells me in
German system language that the "api-ms-win-core-path-l1-1-0.dll" is missing on the computer. I googled for it and it seems that this dll is not a part of Windows 7.

Message:


---------------------------
python.exe - Systemfehler
---------------------------
Das Programm kann nicht gestartet werden, da api-ms-win-core-path-l1-1-0.dll auf dem Computer fehlt. Installieren Sie das Programm erneut, um das Problem zu beheben. 
---------------------------
OK   
---------------------------
msg374404 - (view) Author: Martin Borus (Martin Borus) Date: 2020-07-27 17:14
Changed "component" from "resource" to "crash" because it seems to fit better.
msg374411 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2020-07-27 18:27
> running python.exe results in an error message popup which tells me ...
> that the "api-ms-win-core-path-l1-1-0.dll" is missing on the computer. 
> I googled for it and it seems that this dll is not a part of Windows 7.

Microsoft ended extended support for Windows 7 back in January of this year, so Python 3.9 does not support Windows 7, in accordance with PEP 11 [1]. I'd expect the installer to fail on unsupported versions of Windows.

[1]: https://www.python.org/dev/peps/pep-0011/#microsoft-windows
msg374437 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2020-07-27 23:14
I thought we already made it fail? (Checks) No we did not. Guess I misremembered that.

I'll fix this tomorrow. We need it, or else we'll be inundated with these reports for the entire life of 3.9.
msg374504 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2020-07-28 15:36
New changeset 37a06cbe5c17c2aa6ad938339fd42531a8a0bea0 by Steve Dower in branch 'master':
bpo-41412 and bpo-40948: Windows installer updates (GH-21656)
https://github.com/python/cpython/commit/37a06cbe5c17c2aa6ad938339fd42531a8a0bea0
msg374506 - (view) Author: miss-islington (miss-islington) Date: 2020-07-28 15:55
New changeset 95cc37f6b8e895a5042e2a10e5d9026429e06342 by Miss Islington (bot) in branch '3.9':
bpo-41412 and bpo-40948: Windows installer updates (GH-21656)
https://github.com/python/cpython/commit/95cc37f6b8e895a5042e2a10e5d9026429e06342
msg374510 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2020-07-28 16:53
Leaving this open until we can validate on the next release. I don't have convenient access to old versions of Windows anymore (and don't have time to deal with inconvenient access this week).
History
Date User Action Args
2020-07-28 16:53:46steve.dowersetpriority: release blocker -> deferred blocker

messages: + msg374510
stage: patch review -> commit review
2020-07-28 15:55:46miss-islingtonsetmessages: + msg374506
2020-07-28 15:36:07steve.dowersetmessages: + msg374504
2020-07-28 15:35:58miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request20807
2020-07-28 11:44:59steve.dowersetkeywords: + patch
stage: patch review
pull_requests: + pull_request20799
2020-07-27 23:14:57steve.dowersetpriority: normal -> release blocker
assignee: steve.dower
messages: + msg374437

versions: + Python 3.10
2020-07-27 18:27:07eryksunsetnosy: + eryksun
messages: + msg374411
2020-07-27 17:14:09Martin Borussettype: resource usage -> crash
messages: + msg374404
2020-07-27 17:07:35Martin Boruscreate