What is Nostr?
Yann Büchau :python: /
npub1p27…djxd
2024-01-18 13:46:41

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: #Python development on :nixos: #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
Author Public Key
npub1p27gj7s9ajsgf8m93hz9lwvru3syr56hz59snhu9wyc70f649pyqzgdjxd