You can customize your pip.conf to point to a custom pypi repository
https://pip.pypa.io/en/stable/user_guide/#config-file
Sometimes a pip user may want to install a python package from a repository other than http://pypi.python.org/simple/.
...
By passing a CLI flag to specify a custom index url
Code Block language bash pip install -i/--index-url <url> <package>
By setting an environment variable
Code Block language bash export PIP_INDEX_URL=<url> pip install <package>
By specifying in a custom pip.conf file
Code Block language bash [global] timeout = 60 index-url = https://nexus3.onap.org/repository/PyPi/simple
Info |
---|
Exhaustive documentation on pip configuration can be found here https://pip.pypa.io/en/stable/user_guide/#config-file |
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...