Title: Windows embeddable distribution outputs `WARN: Could not find the platform standard library directory!` · Issue #155254 · python/cpython · GitHub
Open Graph Title: Windows embeddable distribution outputs `WARN: Could not find the platform standard library directory!` · Issue #155254 · python/cpython
X Title: Windows embeddable distribution outputs `WARN: Could not find the platform standard library directory!` · Issue #155254 · python/cpython
Description: 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 ...
Open Graph Description: 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 dir...
X Description: 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 dir...
Opengraph URL: https://github.com/python/cpython/issues/155254
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Windows embeddable distribution outputs `WARN: Could not find the platform standard library directory!`","articleBody":"# Bug report\n\n### Bug description:\n\nWhen the Windows embeddable distribution version 3.15.0rc1 is extracted and `python.exe` is run, a warning is shown.\n\n```\nWARN: 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?\nPython 3.15.0rc1 (tags/v3.15.0rc1:37e98da, Aug 4 2026, 11:37:18) [MSC v.1951 64 bit (AMD64)] on win32\n>>>\n```\n\nThe warning first appears in 3.15.0a7. It is not present in 3.15.0a6 or 3.14.7. https://github.com/python/cpython/issues/145273 looks suspicious.\n\n### CPython versions tested on:\n\n3.15\n\n### Operating systems tested on:\n\nWindows\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-156015\n* gh-156182\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/adang1345","@type":"Person","name":"adang1345"},"datePublished":"2026-08-05T17:57:48Z","url":"https://github.com/python/cpython/issues/155254"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:52f80499-f1c5-1a0c-cc27-0797464f71e3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 845A:21AC3F:44DA95D:5711AF3:6B0211D1 |
| html-safe-nonce | 11e24c1486cd571dcd5435437c7cd4d7261bb9052aeaa6a2212aa6598051a72d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDVBOjIxQUMzRjo0NERBOTVEOjU3MTFBRjM6NkIwMjExRDEiLCJ2aXNpdG9yX2lkIjoiNzgwMTEzMDEwODYyMTgyMDM2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7554c9716a86cb9b208485e2e68d433c40baf422c2e11366ee78a83bd0616069 |
| hovercard-subject-tag | issue:5073766882 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/155254/issue_layout |
| twitter:image | https://opengraph.githubassets.com/661a841c8746cda88ec49a2e983846933ccad46752f9cec33f9ff3af2d09128f/python/cpython/issues/155254 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/661a841c8746cda88ec49a2e983846933ccad46752f9cec33f9ff3af2d09128f/python/cpython/issues/155254 |
| og:image:alt | 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 dir... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adang1345 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width