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
The most common usage of pip is to install from the Python Package Index using a requirement specifier. Generally speaking, a requirement specifier is composed of a project name followed by an optional version specifier. A full description of the supported specifiers can be found in the Version ...
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
How to...pip install?
I'm going to make the assumption that you don't use a virtual environment for this project. Try entering this into the VS Code terminal: py -m pip install requests This should always work on Windows as long as you have Python installed. Just make sure to not enter it into the Python REPL (starting with >>>) as this is not Python code. More on reddit.com
🌐 r/learnpython
24
7
April 5, 2024
What is pip install?
It's a program that comes with Python, it allows you to download and install Python libraries from PyPI . More on reddit.com
🌐 r/learnpython
16
8
February 20, 2019
How do I install pip on Windows 10?
Assuming the version you installed was relatively recent (≥ 2.7.9 or ≥ 3.4.0) you already have pip as it comes bundled (assuming you didn't clear the check-box in the installer that says "install pip".) If you want help you need to provide more information. Start with: the version of Python you installed the command you tried to run the output of that command your PATH setting Most likely you didn't set your PATH correctly; it needs to include the Scripts directory under the installation location if you want to use the pip wrapper script. You can avoid that by just invoking the module directly, e.g. python -m pip install some_module which is the recommended practice. More on reddit.com
🌐 r/learnpython
2
4
April 19, 2017
🌐
Ramotion
ramotion.com › blog › how-to-install-pip
How to Install Pip on Windows, Mac, and Linux | Ramotion Agency
1 week ago - Instead, a simple command like pip install numpy automatically fetches the package along with all its dependencies. What makes pip particularly valuable is its standardization of package management across projects.
🌐
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 › cli › pip_install
pip install - pip documentation v26.2.2
In the event of a dependency cycle ... that the first encountered member of the cycle is installed last. For instance, if quux depends on foo which depends on bar which depends on baz, which depends on foo: ... $ python -m pip install quux ......
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.

🌐
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

Find elsewhere
🌐
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.
🌐
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
🌐
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.
🌐
GitHub
github.com › pypa › pip
GitHub - pypa/pip: The Python package installer · GitHub
You can use pip to install packages from the Python Package Index and other indexes.
🌐
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.
🌐
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:
🌐
pip
pip.pypa.io › en › stable › getting-started
Getting Started - pip documentation v26.2.2
Pip can install directly from distribution files as well. They come in 2 forms: source distribution (usually shortened to “sdist”) wheel distribution (usually shortened to “wheel”) ... $ python -m pip install sampleproject-1.0.tar.gz [...] Successfully installed sampleproject $ python -m pip install sampleproject-1.0-py3-none-any.whl [...] Successfully installed sampleproject MacOS
🌐
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/
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-pip
Python PIP - GeeksforGeeks
June 5, 2026 - PIP provides the install command to download and install Python packages from PyPI. For example, the following command installs the NumPy package.
🌐
Cornell
portal.cac.cornell.edu › techdocs › software › install-python-in-python-virtual-environment
Install Python Packages in a Python virtual environment - CAC TechDocs
$ module load python3 (note: python3 ... might be something like python/3.6) $ python3 -m venv tensorflow $ source tensorflow/bin/activate (tensorflow)$ pip install --upgrade pip Collecting pip Using cached https://files.pythonhosted.org/packages/30/db/9e38760b32e3e7f40cce46dd5...
🌐
Pip
pip.pypa.io
pip documentation v26.2.2
Pip is the package installer for Python.
🌐
Programming Historian
programminghistorian.org › en › lessons › installing-python-modules-pip
Installing Python Modules with pip | Programming Historian
May 6, 2013 - This lesson shows you how to download and install Python modules. There are many ways to install external modules, but for the purposes of this lesson, we’re going to use a program called pip, easily installable on mac/linux and windows. As of Python 2.7.9 and newer, pip is installed by default.