Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After installation on Windows7, 64bit Python 3.9.0b5 reports "api-ms-win-core-path-l1-1-0.dll" missing and doesn't start #85584

Closed
MartinBorus mannequin opened this issue Jul 27, 2020 · 10 comments
Assignees
Labels
3.9 only security fixes 3.10 only security fixes deferred-blocker OS-windows type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@MartinBorus
Copy link
Mannequin

MartinBorus mannequin commented Jul 27, 2020

BPO 41412
Nosy @pfmoore, @tjguk, @ambv, @zware, @eryksun, @zooba, @miss-islington
PRs
  • bpo-41412 and bpo-40948: Windows installer updates #21656
  • [3.9] bpo-41412 and bpo-40948: Windows installer updates (GH-21656) #21661
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/zooba'
    closed_at = <Date 2020-09-14.23:58:26.352>
    created_at = <Date 2020-07-27.17:07:35.310>
    labels = ['3.10', 'deferred-blocker', 'OS-windows', 'type-crash', '3.9']
    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'
    updated_at = <Date 2020-09-14.23:58:26.350>
    user = 'https://bugs.python.org/MartinBorus'

    bugs.python.org fields:

    activity = <Date 2020-09-14.23:58:26.350>
    actor = 'steve.dower'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2020-09-14.23:58:26.352>
    closer = 'steve.dower'
    components = ['Windows']
    creation = <Date 2020-07-27.17:07:35.310>
    creator = 'Martin Borus'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41412
    keywords = ['patch']
    message_count = 9.0
    messages = ['374403', '374404', '374411', '374437', '374504', '374506', '374510', '376888', '376917']
    nosy_count = 8.0
    nosy_names = ['paul.moore', 'tim.golden', 'lukasz.langa', 'zach.ware', 'eryksun', 'steve.dower', 'miss-islington', 'Martin Borus']
    pr_nums = ['21656', '21661']
    priority = 'deferred blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue41412'
    versions = ['Python 3.9', 'Python 3.10']

    @MartinBorus
    Copy link
    Mannequin Author

    MartinBorus mannequin commented Jul 27, 2020

    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
    ---------------------------

    @MartinBorus MartinBorus mannequin added performance Performance or resource usage 3.9 only security fixes OS-windows labels Jul 27, 2020
    @MartinBorus
    Copy link
    Mannequin Author

    MartinBorus mannequin commented Jul 27, 2020

    Changed "component" from "resource" to "crash" because it seems to fit better.

    @MartinBorus MartinBorus mannequin added type-crash A hard crash of the interpreter, possibly with a core dump and removed performance Performance or resource usage labels Jul 27, 2020
    @eryksun
    Copy link
    Contributor

    eryksun commented Jul 27, 2020

    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.

    @zooba
    Copy link
    Member

    zooba commented Jul 27, 2020

    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.

    @zooba zooba added 3.10 only security fixes release-blocker labels Jul 27, 2020
    @zooba zooba self-assigned this Jul 27, 2020
    @zooba zooba added 3.10 only security fixes release-blocker labels Jul 27, 2020
    @zooba zooba self-assigned this Jul 27, 2020
    @zooba
    Copy link
    Member

    zooba commented Jul 28, 2020

    New changeset 37a06cb by Steve Dower in branch 'master':
    bpo-41412 and bpo-40948: Windows installer updates (GH-21656)
    37a06cb

    @miss-islington
    Copy link
    Contributor

    New changeset 95cc37f by Miss Islington (bot) in branch '3.9':
    bpo-41412 and bpo-40948: Windows installer updates (GH-21656)
    95cc37f

    @zooba
    Copy link
    Member

    zooba commented Jul 28, 2020

    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).

    @ambv
    Copy link
    Contributor

    ambv commented Sep 14, 2020

    "Leaving this open until we can validate on the next release".

    You should be able to do it now, Steve.

    @zooba
    Copy link
    Member

    zooba commented Sep 14, 2020

    Works great! (By which I mean, doesn't work at all ;) )

    @zooba zooba closed this as completed Sep 14, 2020
    @liudonghua123
    Copy link

    I forked the official cpython and made some hacks for supporting win7+. See https://github.com/liudonghua123/windows-python-installer for more details.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes 3.10 only security fixes deferred-blocker OS-windows type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    5 participants