pip Install and Dependencies Cheat Sheet/Require wheels for a package

Only accept binary wheels for a named package.

Section: Resolver and Platform Controls

Require wheels for a package

bash
bash
python -m pip install --only-binary pandas pandas
Explanation

Useful when builds from source are slow or unavailable in CI.

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 Resolver and Platform Controls
Use eager upgrade strategy
Upgrade transitive dependencies more aggressively.
OpenIn sheetbashsame section
Resolve for a target platform and Python
Download distributions for another platform or interpreter version.
OpenIn sheetbashsame section
Install into a target directory
Install packages into a custom filesystem path.
OpenIn sheetbashsame section
Install with constraints
Use a constraints file while installing dependencies.
OpenIn sheetbash1 tag match
Install from requirements file
Install dependencies listed in a requirements file.
Install current project in editable mode
Install a local project with editable imports.