Closed
Description
- Pip version: 9.0.1
- Python version: 3.6
- Operating system: Linux
Description:
I have this in my pip.conf
:
[global]
index-url = https://myregistry-xyz.com
extra-index-url = https://pypi.python.org/pypi
Let's assume packageX
exists in both registries and I run pip install packageX
.
I expect pip to install packageX
from https://myregistry-xyz.com
, but pip will use https://pypi.python.org/pypi
instead.
If I switch the values for index-url
and extra-index-url
I get the same result. pypi is always prioritized.