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.txt
Explanation

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
Adjust retry count
Configure retry attempts for flaky network requests.
OpenIn sheetbashsame section
Disable cache for one install
Skip cache use while installing.
OpenIn sheetbashsame section
Run pip with verbose output
Increase output detail for troubleshooting.
OpenIn sheetbashsame section
Show pip debug information
Print environment and compatibility diagnostics.
OpenIn sheetbashsame section
Set per-site config file value
Write a configuration value in the site config scope.
OpenIn sheetbash1 tag match
List pip configuration values
Show effective pip configuration settings.