Use a specific package index URL.
Section: Indexes and Private Repositories
Install from a custom index
bash
bash
python -m pip install --index-url https://pypi.org/simple requestsExplanation
Override the default package index for this invocation.
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 Indexes and Private Repositories