Skip to content

sysconfig info module is misnamed/not found #2

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

Closed
emmatyping opened this issue Nov 27, 2021 · 3 comments
Closed

sysconfig info module is misnamed/not found #2

emmatyping opened this issue Nov 27, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@emmatyping
Copy link
Owner

It seems that a _sysconfigdata__linux_x86_64-linux-gnu.py is generated under lib.wasm32-unknown-emscripten-3.11, which seems wrong?

Either way it isn't being included when running altinstall, so sysconfig.get_config_vars() doesn't work.

@tiran
Copy link
Collaborator

tiran commented Nov 27, 2021

I have seen the issue before when cross compiling for other targets. It looks like a bug in sysconfig. I have created the upstream bug https://bugs.python.org/issue45909

@emmatyping emmatyping added the bug Something isn't working label Nov 29, 2021
@emmatyping
Copy link
Owner Author

I think this and the linked BPO were fixed by python/cpython#29835 ?

@tiran
Copy link
Collaborator

tiran commented Dec 2, 2021

Yes, sysconfig.get_config_vars() now works for me with CI build.

@tiran tiran closed this as completed Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants