๐Ÿ

Pip

Pip is the standard package installer for Python, maintained by the Python Packaging Authority (PyPA), and it ships bundled with every modern Python install. It's the #4 most-used dev tool in the world, reported in roughly 40.9% of developer surveys, and nearly every Python project depends on it directly or through a higher-level wrapper like Poetry or pipenv. Developers use it because it's the default gateway to PyPI, the Python Package Index, which hosts hundreds of thousands of open-source libraries.

Quick facts
Type: Python package manager
Made by: Python Packaging Authority (PyPA)
License: Free / open-source (MIT License)
Platforms/Hosting: Cross-platform, bundled with Python (Windows, macOS, Linux)
Primary use case: Installing and managing Python libraries and their versions from PyPI, usually via a requirements.txt file
Jump to: ExampleGetting startedBest for

Example

Most Python projects pin their dependencies in a requirements.txt file, then install them all with a single pip command.

# requirements.txt
requests==2.32.3
flask==3.0.3
python-dotenv==1.0.1
# install a single package
pip install requests

# install everything listed in requirements.txt
pip install -r requirements.txt

# freeze current environment into a requirements file
pip freeze > requirements.txt

Getting started

Pip is included automatically with Python 3.4+ โ€” install Python and pip is ready to use, ideally inside a virtual environment to keep project dependencies isolated.

# create and activate a virtual environment
python -m venv .venv
.venv\Scripts\activate

# confirm pip is available and up to date
pip --version
python -m pip install --upgrade pip
Best for: Every Python project, from a quick script to a full data-science or web backend โ€” it's the universal baseline, with tools like Poetry or uv layered on top for larger teams that want lockfiles and dependency resolution.