Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi! I Am Getting The Following Error On An Agent:

Hi! I am getting the following error on an agent:
/usr/local/bin/python3.8: No module named virtualenv clearml_agent: ERROR: Command '['python3.8', '-m', 'virtualenv'...Any ideas on how to solve it? Thanks in advance 🙌

  
  
Posted 3 years ago
Votes Newest

Answers 10


GrievingTurkey78 in your cleaml.conf do you have?
agent.package_manager.type: condaOr
https://github.com/allegroai/clearml-agent/blob/73625bf00fc7b4506554c1df9abd393b49b2a8ed/docs/clearml.conf#L59

  
  
Posted 3 years ago

Hi GrievingTurkey78
Can you test with the latest clearml-agent RC (I remember a fix just for that)
pip install clearml-agent==1.2.0rc0

  
  
Posted 3 years ago

This is an odd error, could it be conda is not installed in the container (or in the Path) ?
Are you trying with the latest RC?

  
  
Posted 3 years ago

Not yet AgitatedDove14 , does the agent use by default the python version the command is run with? I installed conda and tried using package_manager.type=conda but then get an error:
clearml_agent: ERROR: 'NoneType' object has no attribute 'lower'

  
  
Posted 3 years ago

I have the agent configured to force install requirements.txt

  
  
Posted 3 years ago

Give me a couple of minutes 🙌

  
  
Posted 3 years ago

It is the latest RC, I get the following:
` Executing Conda: /opt/conda/bin/conda install -p /home/ramon/.clearml/venvs-builds/3.8 -c pytorch -c conda-forge -c defaults 'pip<20.2' --quiet --json
Pass
Trying pip install: /home/ramon/.clearml/venvs-builds/3.8/task_repository/my-rep.git/requirements.txt
Executing Conda: /opt/conda/bin/conda install -p /home/ramon/.clearml/venvs-builds/3.8 -c pytorch -c conda-forge -c defaults numpy==1.20.3 --quiet --json
Pass
Warning, could not locate PyTorch torch==1.10.0 matching CUDA version 110, best candidate 1.7.0

Torch CUDA 102 download page found
Trying PyTorch CUDA version 102 support
Warning, could not locate PyTorch torch==1.10.0 matching CUDA version 102, best candidate 1.7.0

Found PyTorch version torch==1.10.0 matching CUDA version 102
ERROR: Failed installing requirements.txt: `

  
  
Posted 3 years ago

Let me double check!

  
  
Posted 3 years ago

With pip I get the first error I showed, I tried conda and it starts running but at some point crashes with:
clearml_agent: ERROR: 'NoneType' object has no attribute 'lower'

  
  
Posted 3 years ago

I have the agent configured to force install requirements.txt

what do you mean by that?

  
  
Posted 3 years ago
1K Views
10 Answers
3 years ago
one year ago
Tags
Similar posts