edit: Manual installation and use of setuptools is not the standard process anymore.

If you're running Python 2.7.9+ or Python 3.4+

Congrats, you should already have pip installed. If you do not, read onward.

If you're running a Unix-like System

You can usually install the package for pip through your package manager if your version of Python is older than 2.7.9 or 3.4, or if your system did not include it for whatever reason.

Instructions for some of the more common distros follow.

Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 2.x

Run the following command from a terminal:

sudo apt-get install python-pip 

Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 3.x

Run the following command from a terminal:

sudo apt-get install python3-pip
Note:

On a fresh Debian/Ubuntu install, the package may not be found until you do:

sudo apt-get update

Installing pip on CentOS 7 for Python 2.x

On CentOS 7, you have to install setup tools first, and then use that to install pip, as there is no direct package for it.

sudo yum install python-setuptools
sudo easy_install pip

Installing pip on CentOS 7 for Python 3.x

Assuming you installed Python 3.4 from EPEL, you can install Python 3's setup tools and use it to install pip.

# First command requires you to have enabled EPEL for CentOS7
sudo yum install python34-setuptools
sudo easy_install pip

If your Unix/Linux distro doesn't have it in package repos

Install using the manual way detailed below.

The manual way

If you want to do it the manual way, the now-recommended method is to install using the get-pip.py script from pip's installation instructions.

Install pip

To install pip, securely download get-pip.py

Then run the following (which may require administrator access):

python get-pip.py 

If setuptools is not already installed, get-pip.py will install setuptools for you.

Answer from wkl on Stack Overflow

edit: Manual installation and use of setuptools is not the standard process anymore.

If you're running Python 2.7.9+ or Python 3.4+

Congrats, you should already have pip installed. If you do not, read onward.

If you're running a Unix-like System

You can usually install the package for pip through your package manager if your version of Python is older than 2.7.9 or 3.4, or if your system did not include it for whatever reason.

Instructions for some of the more common distros follow.

Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 2.x

Run the following command from a terminal:

sudo apt-get install python-pip 

Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 3.x

Run the following command from a terminal:

sudo apt-get install python3-pip
Note:

On a fresh Debian/Ubuntu install, the package may not be found until you do:

sudo apt-get update

Installing pip on CentOS 7 for Python 2.x

On CentOS 7, you have to install setup tools first, and then use that to install pip, as there is no direct package for it.

sudo yum install python-setuptools
sudo easy_install pip

Installing pip on CentOS 7 for Python 3.x

Assuming you installed Python 3.4 from EPEL, you can install Python 3's setup tools and use it to install pip.

# First command requires you to have enabled EPEL for CentOS7
sudo yum install python34-setuptools
sudo easy_install pip

If your Unix/Linux distro doesn't have it in package repos

Install using the manual way detailed below.

The manual way

If you want to do it the manual way, the now-recommended method is to install using the get-pip.py script from pip's installation instructions.

Install pip

To install pip, securely download get-pip.py

Then run the following (which may require administrator access):

python get-pip.py 

If setuptools is not already installed, get-pip.py will install setuptools for you.

Answer from wkl on Stack Overflow
Top answer
1 of 16
891

edit: Manual installation and use of setuptools is not the standard process anymore.

If you're running Python 2.7.9+ or Python 3.4+

Congrats, you should already have pip installed. If you do not, read onward.

If you're running a Unix-like System

You can usually install the package for pip through your package manager if your version of Python is older than 2.7.9 or 3.4, or if your system did not include it for whatever reason.

Instructions for some of the more common distros follow.

Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 2.x

Run the following command from a terminal:

sudo apt-get install python-pip 

Installing on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 3.x

Run the following command from a terminal:

sudo apt-get install python3-pip
Note:

On a fresh Debian/Ubuntu install, the package may not be found until you do:

sudo apt-get update

Installing pip on CentOS 7 for Python 2.x

On CentOS 7, you have to install setup tools first, and then use that to install pip, as there is no direct package for it.

sudo yum install python-setuptools
sudo easy_install pip

Installing pip on CentOS 7 for Python 3.x

Assuming you installed Python 3.4 from EPEL, you can install Python 3's setup tools and use it to install pip.

# First command requires you to have enabled EPEL for CentOS7
sudo yum install python34-setuptools
sudo easy_install pip

If your Unix/Linux distro doesn't have it in package repos

Install using the manual way detailed below.

The manual way

If you want to do it the manual way, the now-recommended method is to install using the get-pip.py script from pip's installation instructions.

Install pip

To install pip, securely download get-pip.py

Then run the following (which may require administrator access):

python get-pip.py 

If setuptools is not already installed, get-pip.py will install setuptools for you.

2 of 16
237

I was able to install pip for python 3 on Ubuntu just by running sudo apt-get install python3-pip.

๐ŸŒ
ActiveState
activestate.com โ€บ home โ€บ resources โ€บ quick read โ€บ how to install and use pip3
How to install and use Pip3 - ActiveState
January 23, 2024 - Learn step by step how to install and use Pip3 for linux, windows and macOS. Understand how to use it common package management tools.
Discussions

python - how to install Pip3 on windows 10? - Stack Overflow
I installed Python 3.10 today but when I try to run pip or pip3, the command prompt gives me an error. I tried following the instructions that the top answer in this question said. My complete path... More on stackoverflow.com
๐ŸŒ stackoverflow.com
python3 - What is the Right Way to install pip3 on Ubuntu? - Unix & Linux Stack Exchange
An alert while running pip3 sent me to some advice to "Only ever use your system package manager to upgrade the system pip." This was the original alert: WARNING: pip is being invoked by... More on unix.stackexchange.com
๐ŸŒ unix.stackexchange.com
February 16, 2021
Here is the solution, how to install pip3
Lifesaver!!!! More on reddit.com
๐ŸŒ r/ish
3
15
April 19, 2021
python - How to install pip3 on Windows? - Stack Overflow
I use python 2.7, 3.5.2 and 3.6. Normally pip3 is installed with python3.x. But ... The code: where pip3 gives me: INFO: Could not find files for the given pattern(s). How can I fix this? More on stackoverflow.com
๐ŸŒ stackoverflow.com
๐ŸŒ
DreamHost
help.dreamhost.com โ€บ hc โ€บ en-us โ€บ articles โ€บ 115000699011-Using-pip3-to-install-Python3-modules
Using pip3 to install Python3 modules โ€“ DreamHost Knowledge Base
You can upgrade it by running the following: [server]$ python3 -m pip install --upgrade pip [server]$ pip3 --version pip 18.1 from /home/username/opt/python-3.6.2/lib/python3.6/site-packages/pip (python 3.6)
๐ŸŒ
PyPI
pypi.org โ€บ project โ€บ pip
pip ยท PyPI
You can use pip to install packages from the Python Package Index and other indexes.
      ยป pip install pip
    
Published ย  Feb 05, 2026
Version ย  26.0.1
Homepage ย  https://pip.pypa.io/
๐ŸŒ
Temok
temok.com โ€บ home โ€บ how to install pip3: easy guide for mac, windows, and linux
How To Install pip3: Easy Guide For Mac, Windows, and Linux
September 1, 2025 - Wondering how to install pip3? Follow our 2025 guide for Windows, Mac, Linux & Ubuntu to set up Python 3โ€™s package manager.
Find elsewhere
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ how-to-install-pip-in-linux
How to Install PIP3 in Linux - GeeksforGeeks
January 12, 2026 - Once Python 3 is installed and the package manager is updated, you can install pip3.
๐ŸŒ
pip
pip.pypa.io โ€บ en โ€บ stable โ€บ installation
Installation - pip documentation v26.0.1
This is a Python script that uses some bootstrapping logic to install pip.
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ installing-pip3-in-ubuntu
Installing pip3 in Ubuntu
Use the apt-get -y install python3-pip command to install pip3, if Python 3 is already installed on your Ubuntu system.
๐ŸŒ
Namehero
namehero.com โ€บ blog โ€บ install-pip3-on-ubuntu-the-ultimate-guide
Install Pip3 On Ubuntu: The Ultimate Guide
December 9, 2024 - As shown above, the -y flag is used with โ€˜apt install python3 pipโ€™ command so we can skip the prompts and assume โ€œyesโ€ during installation questions. This will automatically select โ€œyesโ€ during the process when prompted to install ...
๐ŸŒ
Webhi
webhi.com โ€บ home โ€บ how to install pip3 in ubuntu
How to install Pip3 in Ubuntu - Tutorial & Documentation
April 5, 2023 - Learn how to install and use pip, the Python package manager, on Ubuntu. This tutorial covers the installation process, as well as how to install and manage Python packages using pip. If you're developing projects with Python on Ubuntu, this guide is a must-read!
๐ŸŒ
Reddit
reddit.com โ€บ r/ish โ€บ here is the solution, how to install pip3
r/ish on Reddit: Here is the solution, how to install pip3
April 19, 2021 -

So many people don't actually know how to install pip3 on iSH, but it's actually pretty simple! I have seen many questions like why does "apk add python3-pip" not work? And the solution is this: first of all, you should install python with "apk add python3" and then type this "python3 -m ensurepip" it might take a while to load, but its okay just be patient and you are done! I hope I was helpful :) If you want to install packages, make sure to use "pip3 install package" not "pip install package"

๐ŸŒ
Reddit
reddit.com โ€บ r/learnpython โ€บ how to install pip3 on a debian image.
r/learnpython on Reddit: How to install pip3 on a Debian image.
May 8, 2023 -

SOLVED by ChatGPT ๐Ÿ˜ the docker debian images I was using I guess no longer support python3-pip and I had to install from source the following cmd:

Curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py

โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”-

python3-pip doesnโ€™t exist anymore in apt for Debian.

Went to the pip install docs to find an alternative install method and python3.9.2 doesnโ€™t have the ensure pip module for some reason even though the docs state it come with all python versions after 3.4. Not sure what else to do. Everything was fine last week, but today I canโ€™t create new docker containers with my dockerfile that sets up my dependencies because I canโ€™t find a way to install pip3. Iโ€™ve been googling all day and can find no mention of this change anywhere or anyone else having issues with pip3 today. Anyone know whatโ€™s going on here?

๐ŸŒ
Red Hat
redhat.com โ€บ en โ€บ blog โ€บ install-python-pip-linux
Install Python pip on Linux
November 21, 2025 - The most popular Python package manager, pip, used to be included in a typical Python install, but lately, it's been excluded. Pip is a useful tool for runni...
๐ŸŒ
DEV Community
dev.to โ€บ stankukucka โ€บ how-to-install-pip3-on-mac-2hi4
How to install pip3 on mac - DEV Community
November 13, 2021 - PIP is understood as a soft link for a particular installer. Your operation system will use one of your Python versions depending on what exactly is known as first in the system PATH variable. To know what it is and where it is on this particular path it simply types this command to view the system file. ... When you run the PIP3 command, you can be sure that this particular module or dependency will be installed in Python3.