Unanswered
Hi Everybody,
I'M Running Experiments Inside A Docker Which Includes Multiple Python Instances, Some Of Them Are Inside Conda Environments.
How Can I Specify The Agent To Use A Specific Conda Environment Inside The Docker?
Hi CrookedWalrus33
docker_setup_bash_script= ["export PATH=""/workspace/miniconda/bin:$PATH"])
Oh I think you are correct, this should do the trick:docker_setup_bash_script= ["export PATH=/workspace/miniconda/bin:$PATH", "export LOCAL_PYTHON=/workspace/miniconda/bin/python3"]
This will make sure both agent and script execute on the same python
but to run a script inside a docker which already has the environment built in.
If this is already activated, the latest agent will just use the active venv ( docker_setup_bash_script=["conda activate /path"]
)
for the above to work, you need the latest agent RC:pip install clearml-agent==1.2.0rc7
172 Views
0
Answers
2 years ago
one year ago
Tags