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

sysconfig.get_config_var("LDLIBRARY") is now defined in Windows Python v3.13.0b1 #343

Closed
JamesParrott opened this issue May 25, 2024 · 0 comments

Comments

@JamesParrott
Copy link

I've been playing around with importing fewer dependencies, and solved my own issue. I'm logging it in case it helps anyone else:

Error (Python 3.11/3.12, Windows):
Cannot subscript None at:

PYLDLIB = sysconfig.get_config_var("LDLIBRARY")

# Strip libpython3.11.a.so => python3.11.a
PYLDLIB = PYLDLIB[3:] if PYLDLIB.startswith("lib") else PYLDLIB

Possible Solution: Use pre-release beta Python 3.13
https://www.python.org/downloads/release/python-3130b1/

Fixed upstream:
python/cpython#110049

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

No branches or pull requests

1 participant