liveBook · Manning

Pip

Also called pip3

pip is Python’s standard package installer, a command-line tool for installing and managing Python packages and their dependencies.

How 5 Manning books explain it

Learn AI-Assisted Python Programming, Second Edition

pip is Python's package installer for downloading and installing software packages and their dependencies.

How it is used
Installs Python libraries and resolves compatibility problems by selecting an earlier package version.
How deep it goes
Demonstrates basic installation, version constraints, output checking, and switching libraries, but not pip internals.
Examples
Uses PyPDF2 versions 3.0.1 and 2.12.1, plus PyMuPDF, to repair a PDF-cover automation program.
What you can do after
Apply it via pip to install a library, constrain its version, inspect installation output, or replace it with an alternative.

Read how Learn AI-Assisted Python Programming, Second Edition explains pip →

Software Engineering for Data Scientists

pip is the standard package installer for Python.

How it is used
Installs Python libraries for web applications and package-building workflows.
How deep it goes
Demonstrates installation and upgrading, then uses installed tools in a packaging workflow.
Examples
Uses pip install flask, pip install --upgrade build, and pip install twine.
What you can do after
Operate Python dependencies by installing Flask and packaging tools from the command line.

Read how Software Engineering for Data Scientists explains pip →

Fast by Default

pip is Python's package installer and dependency-management tool.

How it is used
Uses pip to audit Python dependencies, separate development packages, and reduce production build size.
How deep it goes
Explains dependency auditing, version pinning, production categorization, and wheel-size checks, but stops short of pip internals.
Examples
Demonstrates pipreqs analysis on a checkout API and compares Python-only packages with compiled-extension wheels.
What you can do after
Diagnose unused Python dependencies with pipreqs and maintain smaller, version-pinned production environments with pip-tools.

Read how Fast by Default explains pip →

Road to Kubernetes

pip is the standard package installer and dependency-management tool for Python.

How it is used
Installs Python application dependencies within isolated project environments during development and manual deployment.
How deep it goes
Demonstrates commands, virtual-environment selection, and requirements files, while deferring complex version constraints and Git repositories.
Examples
Uses FastAPI installation and a requirements.txt listing FastAPI, Jinja2, Uvicorn, and Gunicorn.
What you can do after
Apply pip to install individual packages or reproduce a project dependency set from requirements.txt.

Read how Road to Kubernetes explains pip →

Build a Reasoning Model (From Scratch)

Python’s package installer used to install packages from a terminal.

How it is used
Installs Python libraries needed to run a project’s examples and development environment.
How deep it goes
Demonstrates file-based and direct package installation, but defers environment isolation and detailed platform-specific configuration to uv or PyTorch guidance.
Examples
Uses requirements.txt, a remote requirements file, and direct installation of PyTorch, tokenizers, and reasoning-from-scratch.
What you can do after
Operate/configure a Python environment by installing project dependencies from a file or package list.

Read how Build a Reasoning Model (From Scratch) explains pip →

Also covered in

What to know first

Related concepts

Questions about pip

What is pip?

pip is Python’s standard package installer, a command-line tool for installing and managing Python packages and their dependencies.

Which Manning books explain pip?

Learn AI-Assisted Python Programming, Second Edition, Software Engineering for Data Scientists, Fast by Default, Road to Kubernetes and Build a Reasoning Model (From Scratch).

What should I know before learning pip?

Manning books that teach pip usually introduce Python, package, virtual environment and web application first.

What is the difference between pip and uv?

pip is Python’s standard package installer, a command-line tool for installing and managing Python packages and their dependencies. uv is a fast Python package and project manager for managing dependencies, environments, and Python-related workflows.

What is pip also called?

Pip is also called pip3.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.