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
🌐
pip
pip.pypa.io › en › stable › installation
Installation - pip documentation v26.2.2
Python comes with an ensurepip module[1], which can install pip in a Python environment.
🌐
Python Packaging
packaging.python.org › tutorials › installing-packages
Installing Packages - Python Packaging User Guide
Additionally, you’ll need to make sure you have pip available. You can check this by running: ... If you installed Python from source, with an installer from python.org, or via Homebrew you should already have pip.
Discussions

How to install pip with Python 3? - Stack Overflow
I want to install pip. It should support Python 3, but it requires setuptools, which is available only for Python 2. How can I install pip with Python 3? More on stackoverflow.com
🌐 stackoverflow.com
Pip install

PATH_TO_\Python\Lib\site-packages\MODULE_NAME

This is where the modules end up.

More on reddit.com
🌐 r/learnpython
4
11
March 7, 2019
ELI5: when I pip install something, where does it actually get installed?

Packages are installed in the 'sites-packages' path in your system when you install them through PIP, you can view any package's specific path by running pip show <pkgname> for example the pip package itself (on my system)

$ pip show pip
Name: pip
Version: 20.0.2
Summary: The PyPA recommended tool for installing Python packages.
Home-page: https://pip.pypa.io/
Author: The pip developers
Author-email: pypa-dev@groups.google.com
License: MIT
Location: /usr/local/lib/python3.7/site-packages
Requires:
Required-by:

From the location directive the sites-packages path is /usr/local/lib/python3.7/site-packages on my machine.

You can also run this command python -m site which will list the paths Python will actually look through to find any imported package!

And yes they do consume space once installed.

Side note, it is generally a very bad idea to just install PIP packages directly, since they are installed globally/per-user by default. This means that all projects by default share the same packages installed this is bad for multiple reasons, for example you could use a package you don't declare in your dependencies and have the code you write break when you move it to a different machine since when you pip install it won't download the package since you didn't document it in the requirements.txt!

Also it could cause conflicts between versions of the same packages between projects and cause unintended incompatibilities if you don't pay attention to managing them!

Ideally you'd want to be using tools like Virtualenv and Pipenv to make those packages per-project! It'll probably be worth the time to learn tools like those and incorporate them in your flow.

Hope this isn't too long lol :D cheers

More on reddit.com
🌐 r/Python
12
6
June 23, 2020
Pip installed in Python 3.9?
Is Python on your PATH? What happens if you type Python --version in your terminal? Have you tried python3 -m pip install ...? More on reddit.com
🌐 r/learnpython
7
5
October 25, 2020
🌐
Reddit
reddit.com › r/learnpython › how to...pip install?
r/learnpython on Reddit: How to...pip install?
April 5, 2024 -

Never thought I'd need to ask this question as a CCNA and Network+ holder, I guess Python has decided to make the simple act of a pip install THIS difficult, wow! I have Python installed as well as Virtual Studio Code. I try this from command prompt

pip3 install requests
File "<stdin>", line 1
pip3 install requests
^^^^^^^

And that's all I get, again and again and again. So I try this in the Visual Studio terminal:

pip3 : The term 'pip3' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 

spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

  • pip3 install requests

  •   + CategoryInfo          : ObjectNotFound: (pip3:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
      
    

Mind blowing stuff here. I JUST want to be able to pip install. I've also tried just using "pip" and leaving out the 3. What mountains must I move to perform such a basic task? I

How do I install pip on Windows 10? Apr 19, 2017
r/learnpython
9y ago
Help how do I install pip? Jan 31, 2021
r/learnpython
5y ago
Can't Install PIP correctly Oct 22, 2025
r/learnpython
last yr.
"python3 -m pip install" OR "pip install" Jul 26, 2021
r/learnpython
5y ago
More results from reddit.com
🌐
Ramotion
ramotion.com › blog › how-to-install-pip
How to Install Pip on Windows, Mac, and Linux | Ramotion Agency
1 week ago - Are you struggling to manage Python packages effectively? Python's pip is your solution - PIP (Python Package Installer) is a command-line tool that simplifies installing, upgrading, and removing Python packages, making it an essential tool for Python developers.
Top answer
1 of 16
893

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.

🌐
YouTube
youtube.com › programmingknowledge
How to Install PIP in Python | PIP Install in Python (2024) - YouTube
How to Install PIP in Python | PIP Install in PythonDownload get-pip.py: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.pyPIP (Python Package Installer...
Published: April 1, 2024
Views: 32K
🌐
pip
pip.pypa.io › en › stable › getting-started
Getting Started - pip documentation v26.2.2
To get started with using pip, you should install Python on your system.
Find elsewhere
🌐
W3Schools
w3schools.com › python › python_pip.asp
Python PIP
Navigate your command line to the location of Python's script directory, and type the following: ... If you do not have PIP installed, you can download and install it from this page: https://pypi.org/project/pip/
🌐
YouTube
youtube.com › watch
How to Install PIP in Python - YouTube
Install pip for python. Pip is used for installing packages in python such as pandas or pygame. Pip is usually installed when you install python but if you d...
Published: February 10, 2026
🌐
Python Land
python.land › home › virtual environments and package management › pip install: how to install and remove python packages
Pip Install: How To Install and Remove Python Packages • Python Land Tutorial
2 weeks ago - First things first: we need to install pip itself. The good news is that Pip is probably already present in your system. Most Python installers also install Pip. Python’s pip is already installed if you use Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org.
🌐
pip
pip.pypa.io › en › stable › cli › pip_install
pip install - pip documentation v26.2.2
Installation prefix where lib, bin and other top-level folders are placed. Note that the resulting installation may contain scripts and other resources which reference the Python interpreter of pip, and not that of --prefix.
🌐
YouTube
youtube.com › watch
How to Install PIP in Python - Windows 10/11 (2024) - YouTube
In this video, I’ll guide you through the steps to install PIP for Python 3.12 on Windows 10 or 11. If you’re encountering the error: `'pip' is not recognize...
Published: December 16, 2024
🌐
GeeksforGeeks
geeksforgeeks.org › installation guide › how-to-install-pip-on-windows
How to Install PIP on Windows - GeeksforGeeks
February 16, 2026 - Python pip must be manually installed on Windows. We can pip install in Python by manually installing it. You might need to use the correct version of the file from pypa.io if you're using an earlier version of Python or pip.
🌐
Altcademy
altcademy.com › blog › how-to-install-pip-in-python
How to install pip in Python - Altcademy.com
September 3, 2023 - Well, the good news is, if you installed Python version 2.7.9 (for Python 2) or Python 3.4 (for Python 3) and later, pip comes bundled with the installation.
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to install pip on windows
How to Install pip on Windows
May 18, 2026 - Note: If the command isn't recognized, try using pip3 instead or ensure Python is added to your PATH. To install pip using this method, download the get-pip.py script using curl, then run it.
🌐
pip
pip.pypa.io › en › stable › installing
This page has moved - pip documentation v26.2.2
How pip is used in interactive environments (i.e. CI, CD) ... You should be redirected automatically in 3 seconds. If that didn’t work, here’s a link: Installation
🌐
GeeksforGeeks
geeksforgeeks.org › python › download-and-install-pip-latest-version
Download and install pip Latest Version - Python
July 12, 2025 - pip can be downloaded and installed using the terminal in Linux by going through the following command: sudo apt-get install python3-pip python-dev Beginning the installation:
🌐
Programming Historian
programminghistorian.org › en › lessons › installing-python-modules-pip
Installing Python Modules with pip | Programming Historian
May 6, 2013 - In this case—and in all cases ... ... As with the above platforms, the easiest way to install pip is through the use of a python program called get-pip.py, which you can download here....