-
Notifications
You must be signed in to change notification settings - Fork 339
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
Using custom Python from nixpkgs-python results in an interpreter unable to find glibc (I think) #909
Comments
Note that working with nixpkgs-python directly works fine:
So it likely has something to do with LD_LIBRARY_PATH or possibly the Python binary wrappers. |
It's the Python binary wrappers:
|
Disabling the inclusion of I suspect that putting manylinux on the I'm going to try to hit up @domenkozar in the devenv element room sometime this week so I can understand how this might be meant to work. |
Until this is fixed, adding this to your devenv.nix:
Will work around it. |
Irritating. Although numpy installs as a "manylinux" wheel, it actually has a dependency on a non-manylinux library (zlib):
|
Note that doing some shenanigans to synchronize nixpkg-python's inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixos-23.11
nixpkgs-python:
url: github:cachix/nixpkgs-python
inputs:
nixpkgs:
follows: nixpkgs However, this causes at least one bizarre behavior when trying to use various Python 3.11 packages. In one case, trying to use the nixpkgs version of |
#920 will fix this issue. |
#920 is merged! |
(this only works if you use the nixpkgs-python cachix cache or turn off sandboxing, see #901)
The text was updated successfully, but these errors were encountered: