cachix / nixpkgs-python

All Python versions, kept up-to-date on hourly basis using Nix.
Apache License 2.0
176 stars 11 forks source link

python not working after fresh installation with devenv #44

Closed PetitLepton closed 3 months ago

PetitLepton commented 3 months ago

Hi,

I tried to install python several times on different linux machines using devenv with

  languages.python.enable = true;
  languages.python.version = "3.11";

Every installation leads to an error related to libc

/nix/store/jd2kphplkhxgajk6j3mp6j9s0w9awa9a-python3-3.11.9-env/bin/python: symbol lookup error: /nix/store/7v7c61ikm7cbd3kbimk9qr8h7pdmyccn-manylinux2014/lib/libc.so.6: undefined symbol: __tunable_is_initialized, version GLIBC_PRIVATE

I used devenv 1.0.3 and 1.0.7.

I found another issue showing the same problem in a different context.

I am new to nix and devenv. If you can pinpoint my mistake or a workaround, I would appreciate it. Thanks in advance!

domenkozar commented 3 months ago

Can you try setting languages.python.manylinux.enable = false;?

PetitLepton commented 3 months ago

@domenkozar It worked smoothly. Thank you!