E: Package 'python-pip' has no installation candidate
50,249
If you have python(python2) installed you then you can use following command to install pip(for python2).
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
python get-pip.py
Now you can check for pip2
pip2 --version
I hope these will help you
![daniel lugo](https://i.stack.imgur.com/4bZNS.jpg?s=256&g=1)
Author by
daniel lugo
Updated on January 27, 2022Comments
-
daniel lugo over 2 years
$ sudo apt-get install python-pip Reading package lists... Done Building dependency tree Reading state information... Done Package python-pip is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: python3-pip
both my pip and pip3 are installed in python 3
pip -V pip 20.1.1 from /usr/lib/python3/dist-packages/pip (python 3.8) pip3 -V pip 20.1.1 from /usr/lib/python3/dist-packages/pip (python 3.8)
Now i cant install pip ...it shows above error
-
jimbob88 about 3 yearsFor users coming back to this python2.7 requires you use a specific version of get-pip: bootstrap.pypa.io/pip/2.7/get-pip.py