allegroai / clearml-agent

ClearML Agent - ML-Ops made easy. ML-Ops scheduler & orchestration solution
https://clear.ml/docs/
Apache License 2.0
235 stars 90 forks source link

no module named "virtualenv" with execute_remotely #181

Open AlgorithmicIntelligence opened 8 months ago

AlgorithmicIntelligence commented 8 months ago

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.

jkhenning commented 8 months ago

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)

AlgorithmicIntelligence commented 8 months ago

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?

jkhenning commented 8 months ago

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

AlgorithmicIntelligence commented 8 months ago

task_c7f9ec4fb21848b693e109e6f14fe407.log

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

jkhenning commented 8 months ago

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