I can't seem to find the appropriate package that install's pip on Nixos?
Asked
Active
Viewed 1.4k times
2
Chris Stryczynski
- 5,178
- 5
- 40
- 80
4 Answers
6
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
GAD3R
- 63,407
- 31
- 131
- 192
3
pip is available as a package on NixOS. For example, for the default Python interpreter, the attribute is python.pkgs.pip.
Emmanuel Rosa
- 6,808
- 2
- 18
- 22
1
Try using this command python -m ensurepip --default-pip, after the installation is complete you can update it to the latest version.
SPAWN35
- 53
- 9
0
https://nixos.wiki/wiki/Python#pip
Essentially install pip via virtualenv
Chris Stryczynski
- 5,178
- 5
- 40
- 80
-
5While 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