0

I can't seem to find the appropriate package that install's pip on Nixos?

2

pip is available as a package on NixOS. For example, for the default Python interpreter, the attribute is python.pkgs.pip.

2

Check the package availability:

$ nix-env -qaP '.*pip.*'

Install the desired version e,g:

$ nix-env -i python3.7-pip-19.0.3

Nix Package Manager Guide : Chapter 19. Main Commands

0

https://nixos.wiki/wiki/Python#pip

Essentially install pip via virtualenv

  • While this link may be a good reference, a good Answer here at Stack Exchange will incorporate the actual steps required. – Jeff Schaller May 19 at 10:41
0

Try using this command python -m ensurepip --default-pip, after the installation is complete you can update it to the latest version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.