Set a higher request timeout for slow networks.
Section: Debugging, Network, and Resolver
Increase network timeout
bash
bash
python -m pip install --default-timeout=120 -r requirements.txtExplanation
Helpful when downloads fail due to slow or unstable connectivity.
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 Debugging, Network, and Resolver
Show pip debug information
Print environment and compatibility diagnostics.
Set per-site config file value
Write a configuration value in the site config scope.