Yann Büchau :python: on Nostr: I have been struggling hard doing proper :python: #Python development on :nixos: ...
I have been struggling hard doing proper #Python development on #NixOS.
`pip install`'ed binary packages (numpy et. al) don't work (i.e. don't find system libraries like libz libstdc++ etc.), making scientific data analysis completely impossible. The workarounds (using the nixpkgs versions or setting LD_LIBRARY_PATH) are not viable.
With this #poetry2nix flake template (the clue is preferWheels=true) it seems I can finally work properly:
https://gitlab.com/nobodyinperson/flakes/-/tree/main/poetry2nix
#nix
`pip install`'ed binary packages (numpy et. al) don't work (i.e. don't find system libraries like libz libstdc++ etc.), making scientific data analysis completely impossible. The workarounds (using the nixpkgs versions or setting LD_LIBRARY_PATH) are not viable.
With this #poetry2nix flake template (the clue is preferWheels=true) it seems I can finally work properly:
https://gitlab.com/nobodyinperson/flakes/-/tree/main/poetry2nix
#nix