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


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


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



Essentially install pip via virtualenv

  • 2
    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 '19 at 10:41

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.