To install pip, the standard Python package manager, you typically run the get-pip.py bootstrapping script using the command python get-pip.py after downloading it from the official source at https://bootstrap.pypa.io/get-pip.py.

Installation Steps

  • Download the script: Use curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py or download the file manually.

  • Execute installation: Run python get-pip.py in the terminal or command prompt where the file is saved.

  • Verify: Check the installation by running pip --version or python -m pip --version.

Platform-Specific Notes

  • Windows: If pip is not recognized, you may need to add the installation directory (e.g., C:\Python33\Scripts) to your system's PATH environment variable.

  • Linux (Ubuntu/Debian): You can often install it directly via the package manager using sudo apt-get install python3-pip.

  • macOS: If using Homebrew, install Python 3 with brew install python3, which usually includes pip; otherwise, use the get-pip.py script.

Important Warning Be cautious if your Python installation is managed by your operating system or another package manager, as running get-pip.py directly may leave your system in an inconsistent state. To upgrade pip later, use the command python -m pip install -U pip.

package management system for Python
Pip_help.png
PyPI
PyPI - Python Version
Documentation
pip install virtualenv
pip (also known by Python 3's alias pip3) is a package manager (package management system) written in Python and is used to install and manage software packages. The Python Software Foundation recommends … Wikipedia
Factsheet
pip
Original author Ian Bicking
Initial release 28 October 2008 (17 years ago) (2008-10-28)
Factsheet
pip
Original author Ian Bicking
Initial release 28 October 2008 (17 years ago) (2008-10-28)
🌐
PyPI
pypi.org › project › pip
pip · PyPI
The PyPA recommended tool for installing Python packages. ... pip is the package installer for Python.
      » pip install pip
    
Published   Feb 05, 2026
Version   26.0.1
🌐
Python Packaging
packaging.python.org › tutorials › installing-packages
Installing Packages — Python Packaging User Guide
It’s recommended to write ... Python installation that the python command refers to). ... Due to the way most Linux distributions are handling the Python 3 migration, Linux users using the system Python without creating a virtual environment first should replace the python command in this tutorial with python3 and the python -m pip command with ...
Discussions

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
21
7
April 5, 2024
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
python - What is the official "preferred" way to install pip and virtualenv systemwide? - Stack Overflow
Is it this, which people seem to recommend most often: $ sudo apt-get install python-setuptools $ sudo easy_install pip $ sudo pip install virtualenv Or this, which I got from http://www.pip-insta... More on stackoverflow.com
🌐 stackoverflow.com
ELI5 what does Pip install do
Similar to installing addons to Excel you can install extra packages to Python that aren't included in the standard build. That then gives you additional features to call on. For Python, you can install packages using a package manager such as pip (the standard one, included by default on standard installations on Windows and macOS, but not necessarily on all Linux distributions). In Python there are many built in functions and methods already ready to be called. There are other features that are shipped as standard with Python but not automatically included (taking up memory) and which need to be imported to make them readily available. To add packages that are not included as standard you need to use a package manager that can download and install each package desired so it can then be imported. As standard, pip will seek to download a compatible version of a package form the official repository. It is possible to install from elsewhere including locally provided installation files. pip is typically invoked at the operating systems level although it is Python based and can be called as a python module using the -m option. On Google Colab, the ! is used within a notebook to request the Linux/operating system hosting Colab is used to execute the command that follows. You can do the same on your own computer when running a browser based jupyter notebook. There are some prebuilt versions of Python, such as from anaconda, that include many more packages already installed than is the case with the official standard python installation from python.org. Note that it is not good practice to install packages into the base/root installation on Python setup on your own computer. This is becauses the packages required for one project are not necessarily needed for another project. The package requirements of different projects may conflict with each other. So we usually do package installation on a project by project basis to what are called Python virtual environments. These are easy to setup and activate on the command line. Also many of the more advanced code editors (such as visual studio code) and integrated development environments (IDEs, such as PyCharm) have options to create and manage these for you. Well worth looking into. More on reddit.com
🌐 r/learnpython
9
4
June 12, 2022
🌐
pip
pip.pypa.io › en › stable › installation
Installation - pip documentation v26.0.1
Python comes with an ensurepip module[1], which can install pip in a Python environment.
🌐
pip
pip.pypa.io › en › stable › cli › pip_install
pip install - pip documentation v26.0.1
Installing collected packages baz, bar, foo, quux $ python -m pip install bar ... Installing collected packages foo, baz, bar Windows · C:\> py -m pip install quux ... Installing collected packages baz, bar, foo, quux C:\> py -m pip install bar ...
🌐
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

🌐
Techworm
techworm.net › home › explanation › best way to install pip for python in mac, windows, and linux
Best way to Install PIP for Python in Mac, Windows, and Linux
January 10, 2019 - Run the following command: python get-pip.py and you are done. When it comes to installing PIP on Mac then many modern Macs comes preloaded with Python and PIP.
Find elsewhere
🌐
ActiveState
activestate.com › home › resources › quick read › how to manually install python packages
How to Manually Install Python Packages - ActiveState
January 24, 2024 - The most common way to install Python packages is using Python’s package manager, pip. To install a package using pip, run the following command: pip install <packagename> Where packagename is the name of the package to be uninstalled.
🌐
ActiveState
activestate.com › home › resources › quick read › how to install pip on windows
How to Install Pip on Windows - ActiveState
January 24, 2024 - Click to install Python's standard package manager, Pip, on Windows and keep it updated.
🌐
Red Hat
redhat.com › en › blog › install-python-pip-linux
Install Python pip on Linux
November 21, 2025 - It's one pip command away: ... There's a lot out there for Python, so look at Python Package Index (PyPi) to see what's available. To see what Python packages are already installed, use the freeze command:
🌐
Dhgate
smart.dhgate.com › the-complete-guide-to-installing-pip-step-by-step-instructions-for-all-systems
The Complete Guide to Installing pip: Step-by- ...
Find expert-backed shopping guides and top product picks from DHgate. Make smarter decisions with curated insights tailored for international buyers.
🌐
Psychopy
psychopy.org › download.html
Installation — PsychoPy v2026.1.2
2 weeks ago - Support for conda was contributed and is badly outdated but you may be able to get it working using pip install within your conda environment.
🌐
PyTorch
pytorch.org › get-started › locally
Get Started
Tip: If you want to use just the command pip, instead of pip3, you can symlink pip to the pip3 binary. To install PyTorch via pip, and do not have a CUDA-capable or ROCm-capable system or do not require CUDA/ROCm (i.e. GPU support), in the above selector, choose OS: Linux, Package: Pip, Language: Python and Compute Platform: CPU.
🌐
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.
🌐
PyPI
pypi.org › project › pip-install-test
pip-install-test
March 28, 2019 - JavaScript is disabled in your browser. Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
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.

🌐
Dubroy
dubroy.com › blog › so-you-want-to-install-a-python-package
So You Want to Install a Python Package
January 6, 2011 - What’s the difference, anyhow? The goal of this article is to clear up some of this confusion, and to provide a clear and simple recommendation of how to install Python packages. Here’s the short version: use pip install SomePackage instead of easy_install SomePackage.
🌐
yarp-devices
robots.uc3m.es › installation-guides › install-pip.html
Install pip - Installation Guides
Pip (Package Installer for Python) is the PyPA recommended tool for installing Python packages.
🌐
YouTube
youtube.com › watch
How To Install PIP in Python 3.10: PIP Install in Python - Easy Fix - YouTube
Having trouble installing PIP in Python 3.10? This video shows you exactly how to install PIP for Python 3.10 so you can start using packages and running pip...
Published   July 19, 2025