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, When Running A Agent During The Pip Installation Of Packages I Get The Following Error:

Hi,
When running a agent during the pip installation of packages i get the following error:
The user requested PyYAML==6.0
clearml 1.8.3 depends on PyYAML>=3.12
clearml-agent 1.4.1 depends on PyYAML<5.5.0 and >=3.12
Now from my understanding isn't the agent suppose to create his own virtual environment for training from my requirements.txt and be less intrusive towards my package requirements?
Also I'm not running in docker mode for now.

  
  
Posted 2 years ago
Votes Newest

Answers 8


CluelessFlamingo93 I would also fix the pip version requirements to:
pip_version: ["<20.2 ; python_version < '3.10'", "<22.3 ; python_version >= '3.10'"]

  
  
Posted 2 years ago

Yes, here is the log file.

  
  
Posted 2 years ago

CluelessFlamingo93 clearml-agent 1.5.1 requires PyYAML>=3.12,<6.1 - can you attach the log with the error running the new agent 1.5.1 version?

  
  
Posted 2 years ago

Hi CluelessFlamingo93
I think the latest clearml-agent 1.5.1 fixed that issue (this is basically pip trying to "protect" you from mismatch packages)
can you upgrade your clearml-agent and test?
pip3 install clearml-agent==1.5.1

  
  
Posted 2 years ago

yeah i see it now in the requirements of the task, that's weird, I'll create a new environment and check it again, thanks

  
  
Posted 2 years ago

Just upgraded to clearml-agent==1.5.1 and I still get this error.

  
  
Posted 2 years ago

its working now, thanks that was the problem.

  
  
Posted 2 years ago

It looks like you still have clearml-agent==1.4.1 somewhere in your requirements - maybe in the task requirements?

  
  
Posted 2 years ago
1K Views
8 Answers
2 years ago
one year ago
Tags