Upgrade transitive dependencies more aggressively.
Section: Resolver and Platform Controls
Use eager upgrade strategy
bash
bash
python -m pip install --upgrade --upgrade-strategy eager fastapiExplanation
Can help bring an environment fully up to date, but may cause larger dependency changes.
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
Require wheels for a package
Only accept binary wheels for a named package.
Resolve for a target platform and Python
Download distributions for another platform or interpreter version.
Install into a target directory
Install packages into a custom filesystem path.
Install with constraints
Use a constraints file while installing dependencies.
Install current project in editable mode
Install a local project with editable imports.