nix-community / pip2nix

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

importlib.metadata.PackageNotFoundError: pip2nix #72

Closed milahu closed 3 years ago

milahu commented 3 years ago

... when i call nix-shell release.nix -A pip2nix.python39

works with nix-shell release.nix -A pip2nix.python36

datakurre commented 3 years ago

@milahu Should just nix-shell release.nix -A pip2nix.python39 cause the error? I cannot reproduce with just that. Could it be that you have existing PYTHONPATH set that affects the call?

milahu commented 3 years ago

yes! PYTHONPATH was the problem. i used pip to test-install some packages ...

most brutal solution: rm -rf ~/.local/lib/python*