Skip to content

GH-125873: error out in getpath when unable to find stdlib #127616

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FFY00
Copy link
Member

@FFY00 FFY00 commented Dec 4, 2024

@nineteendo
Copy link
Contributor

Could you show an example?

@FFY00
Copy link
Member Author

FFY00 commented Dec 4, 2024

Yes, sorry.

$ PYTHONHOME=inexistent python3.14td
Failed to find the standard library directory (stdlib_dir='inexistent/lib/python3.14t', stdlib_zip='inexistent/lib/python314t.zip')
Failed to find the platform-specifc standard library directory (platstdlib_dir='inexistent/lib/python3.14t/lib-dynload')

Hint
| The home directory was manually set to 'inexistent' via the PYTHONHOME environment variable.
| This value might point to an invalid Python home directory.

Fatal Python error: error evaluating path
Python runtime state: core initialized

Current thread 0x0000783aacb54740 (most recent call first):
  <no Python frame>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants