Hi ElegantCoyote26 , you can add this in the default
~/.pip/pip.conf file (see https://stackoverflow.com/questions/59287824/specifying-multiple-trusted-hosts-in-pip-conf ). This can be easily injected into the docker container using the
extra_docker_shell_script setting for the agent
The package on my index is called
data-service-client , see the log below:
Looking in indexes:
WARNING: The repository located at unicorn is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host unicorn'. ERROR: Could not find a version that satisfies the requirement data-service-client==1.0.0 (from -r /tmp/cached-reqs1h8bd_gt.txt (line 2)) (from versions: none) ERROR: No matching distribution found for data-service-client==1.0.0 (from -r /tmp/cached-reqs1h8bd_gt.txt (line 2)) clearml_agent: ERROR: Could not install task requirements! Command '['/root/.clearml/venvs-builds/3.8/bin/python', '-m', 'pip', '--disable-pip-version-check', 'install', '-r', '/tmp/cached-reqs1h8bd_gt.txt', '--extra-index-url', '
']' returned non-zero exit status 1.