Bypass HTTPS verification restrictions for a host.
Section: Indexes and Private Repositories
Mark host as trusted
bash
bash
python -m pip install --trusted-host internal.example.com --index-url http://internal.example.com/simple internal-packageExplanation
Use carefully. Prefer proper TLS whenever possible.
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