I know that by default, pip uses PyPI to look for packages. I would like to know if there are other domains other than PypI that pip uses.
Asked
Active
Viewed 227 times
0
-
Please see https://pip.pypa.io/en/stable/cli/pip_install/#description. – medium-dimensional Nov 03 '22 at 17:25
-
1It feels to me like this question is out of scope for StackOverflow... Also this feels like this is very easy to figure out for someone who actually wants to know... Anyway... -- That I know of: the distribution files found on PyPI are actually served from `files.pythonhosted.org`, so that is at least this additional domain that _pip_ uses out of the box. – sinoroc Nov 03 '22 at 17:25
-
1If you're looking how to configure your firewall: https://stackoverflow.com/a/67416056/7976758 – phd Nov 03 '22 at 17:29
-
I don't think this question is out of scope. Many companies for security reasons block sites. I need to list the lists that pip could use. I only got Pypi so I'm just asking the community whether or not I had missed something. So this question might be useful for anyone working with Python in a company that blocks internet access. – Gilles Criton Nov 03 '22 at 20:40
2 Answers
2
PIP can install from many different sources. You can find the whole list here
You can also setup your own Python package repository and configure pip to install from there.

Shiplu Mokaddim
- 56,364
- 17
- 141
- 187