nix-community / pip2nix

Freeze pip-installable packages into Nix expressions [maintainer=@datakurre]
168 stars 26 forks source link

Packaging deepface - could not find a version that satisfies the requirement tensorflow #96

Open a-h opened 4 months ago

a-h commented 4 months ago

Trying to generate a Nix expression for deepface, I tried the following:

nix run github:nix-community/pip2nix -- generate deepface

But got the result:

ERROR: Could not find a version that satisfies the requirement tensorflow>=1.9.0 from https://files.pythonhosted.org/packages/52/0b/d0aec1d13e8e7d597eedbf9871f2c5b974e16578538658bee52dff04f26c/tensorflow-2.16.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=03b946e73bf48d857928329b8b321b00b42fe1b4f774c6580666683b0629689f (from deepface) (from versions: none)
ERROR: No matching distribution found for tensorflow>=1.9.0 from https://files.pythonhosted.org/packages/52/0b/d0aec1d13e8e7d597eedbf9871f2c5b974e16578538658bee52dff04f26c/tensorflow-2.16.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=03b946e73bf48d857928329b8b321b00b42fe1b4f774c6580666683b0629689f (from deepface)

I don't know how to debug this further, the link provided does download a .whl file.

a-h commented 4 months ago

Ah, I guess this issue will hit the same dead end as this one, from 3 years ago: https://github.com/nix-community/pip2nix/issues/74