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
Is There A Way To Set The Name/Path Of The

Is there a way to set the name/path of the requirements.txt file the agent uses to install packages?

  
  
Posted 10 months ago
Votes Newest

Answers 9


ERROR: Could not open requirements file: [Errno 2] No such file or directory: ‘/tmp/requirements-dev.lock’

  
  
Posted 10 months ago

why is the agent looking at temp? isn’t it supposed to be looking at the repo root?

  
  
Posted 10 months ago

I think this is the temp requirements it creates not your requirements file. If you attach a log here with the "installed packages" section maybe we could help to debug it

  
  
Posted 10 months ago

And is "requirements-dev.txt" in your git root folder?
What is your clearml-agent version?

  
  
Posted 10 months ago

yes it is.
version 1.7.0

it runs on k8s with the glue

  
  
Posted 10 months ago

Hi @<1523704667563888640:profile|CooperativeOtter46>

Is there a way to set the name/path of the

requirements.txt

file the agent uses to install packages?

When the agent is installing packages it takes it from the "Onstalled Packages" section of the Task. Only if it is empty it will revert to "requirements.txt" from the git repository

That said, if you can Add the following to your "Installed Pacakges"

-r my_other_requirements.txt

And the agent will my_other_requirements.txt in addition to the others.
Notice that after the agent is executing it, it will replace it with the actual packages (i.e. all packages) it installed (including of course the ones from my_other_requirements.txt )

  
  
Posted 10 months ago

Could you attach the Task log? (feel free to DM it)

  
  
Posted 10 months ago

@<1523701205467926528:profile|AgitatedDove14> I just replaced the “installed packages” content with:
-r requirements-dev.txt

  
  
Posted 10 months ago

nice hack! thanks

  
  
Posted 10 months ago
1K Views
9 Answers
10 months ago
10 months ago
Tags
Similar posts