The pip client can be used to install Python packages on your local system.
Running on Windows
To use Artifactory PyPI repositories on Windows, you must set the required environment variables for Python and pip.
On Windows, the per-user configuration file is named pip.ini and is located at %APPDATA%\pip\pip.ini. A legacy per-user configuration file at %HOME%\pip\pip.ini is also respected.
The pip.ini file replaces the pip.conf file used on other operating systems.
To connect the pip PyPI client with Artifactory:
Add the following to ~/.pip/pip.conf:
[global] index-url = https://<USER>:<PASSWORD/TOKEN>@<YOUR_JFROG_DOMAIN>/artifactory/api/pypi/<REPO_NAME>/simple
For example:
[global] index-url = https://johnfrog:RANDOM_TOKEN_YWRtaW46QVBBVWJjTExkZTU4WT@my-awesome.jfrog.io/artifactory/api/pypi/pypi-local/simple
Note
If credentials are required, they should be embedded in the URL.
Next step: