+1 vote
in Programming Languages by (3.2k points)
What command should I use to install pip on Debian/Ubuntu?

1 Answer

0 votes
by (29.3k points)

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