+2 votes
in Programming Languages by (40.5k points)
What command should I use to install pip on Debian/Ubuntu?

1 Answer

+1 vote
by (353k points)
selected by
Best answer

If you want to install pip (for python2) or pip3 (for python3), you need to run the following commands on Debian/Ubuntu system.

1. Update the package index.

sudo apt update

2. Install pip or pip3.

for pip

sudo apt install python-pip

for pip3

sudo apt install python3-pip