clearml-agent icon indicating copy to clipboard operation
clearml-agent copied to clipboard

no module named "virtualenv" with execute_remotely

Open AlgorithmicIntelligence opened this issue 1 year ago • 5 comments

As title, what should I do to install some dependencies before running scripts?

If I ran the script with git repo, the error message changed: clearml_agent: ERROR: Can not run task without repository or literal script in script.diff.

AlgorithmicIntelligence avatar Jan 22 '24 11:01 AlgorithmicIntelligence

Hi @AlgorithmicIntelligence,

The agent requires that virtualenv be installed in the python version you're using to execute it. The simplest solve is to make sure it's installed in all python versions in your machine (or docker image)

jkhenning avatar Jan 23 '24 06:01 jkhenning

Hi @AlgorithmicIntelligence,

The agent requires that virtualenv be installed in the python version you're using to execute it. The simplest solve is to make sure it's installed in all python versions in your machine (or docker image)

Do you mean that I have to install virtualenv at remote agent machine?

AlgorithmicIntelligence avatar Jan 23 '24 06:01 AlgorithmicIntelligence

How are you running the agent on that machine? Can you share the command?

jkhenning avatar Jan 23 '24 06:01 jkhenning

task_c7f9ec4fb21848b693e109e6f14fe407.log

This is the log from console, is it helpful for debugging?

AlgorithmicIntelligence avatar Jan 23 '24 08:01 AlgorithmicIntelligence

I meant how are you running the agent? what is the command line you use?

jkhenning avatar Jan 23 '24 08:01 jkhenning