Add the following lines to your user's or system's pip configuration file pip.conf
:
[global]
index = https://enterprise.mycompany.com/repository/pypi
index-url = https://enterprise.mycompany.com/repository/pypi/simple
Afterwards you can confirm that pip3
is reading your file by running the following command.