Is there a way to tell the agent to run in docker in a way that just “trusts” the installation completely?
for example, I have a local environment with python 3.8.10 and I am trying to run a task in a docker with python 3.8.13
I’ve pointed the notorious -e CLEARML_AGENT_SKIP_PIP_VENV_INSTALL=/usr/local/bin/python
but the agent’s init script itself tells it to verify ranges of python versions and then re-install stuff if it can’t find them:
declare LOCAL_PYTHON ; for i in {10..5}; do which python3.$i && python3.$i -m pip --version && export LOCAL_PYTHON=$(which python3.$i) && break ; done ; [ ! -z $LOCAL_PYTHON ] || export CLEARML_APT_INSTALL="$CLEARML_APT_INSTALL python3-pip" ;