- 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.
Description:
I have this in my
pip.conf:Let's assume
packageXexists in both registries and I runpip install packageX.I expect pip to install
packageXfromhttps://myregistry-xyz.com, but pip will usehttps://pypi.python.org/pypiinstead.If I switch the values for
index-urlandextra-index-urlI get the same result. pypi is always prioritized.