Skip to content

Windows embeddable distribution outputs WARN: Could not find the platform standard library directory! #155254

Description

@adang1345

Bug report

Bug description:

When the Windows embeddable distribution version 3.15.0rc1 is extracted and python.exe is run, a warning is shown.

WARN: Could not find the platform standard library directory! The Python 'home' directory was set to 'C:\\Users\\User\\Downloads\\python-3.15.0rc1-embed-amd64', is this correct?
Python 3.15.0rc1 (tags/v3.15.0rc1:37e98da, Aug  4 2026, 11:37:18) [MSC v.1951 64 bit (AMD64)] on win32
>>>

The warning first appears in 3.15.0a7. It is not present in 3.15.0a6 or 3.14.7. #145273 looks suspicious.

CPython versions tested on:

3.15

Operating systems tested on:

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowspendingThe issue will be closed if no feedback is providedtopic-installationtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions