pip Cheat Sheet/Install from a wheel file

Install a local wheel artifact.

Section: Builds and Wheels

Install from a wheel file

bash
bash
python -m pip install ./wheelhouse/package_name-1.0.0-py3-none-any.whl
Explanation

Useful in offline or reproducible deployment workflows.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Builds and Wheels
Require binary wheels
Only install wheel distributions.
OpenIn sheetbashsame section
Build wheel artifacts
Build wheels into a directory without installing.
OpenIn sheetbashsame section
Force source install
Install from source instead of wheels.
OpenIn sheetbashsame section
Install a package
Install the latest version of a package.
OpenIn sheetbash1 tag match
Install from a custom index
Use a specific package index URL.
OpenIn sheetbash1 tag match
Install a specific version
Pin installation to an exact version.
OpenIn sheetbash1 tag match