ERROR: Could not open requirements file: [Errno 2] No such file or directory: ‘/tmp/requirements-dev.lock’
why is the agent looking at temp? isn’t it supposed to be looking at the repo root?
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
@<1523701205467926528:profile|AgitatedDove14> I just replaced the “installed packages” content with:-r requirements-dev.txt
And is "requirements-dev.txt" in your git root folder?
What is your clearml-agent version?
yes it is.
version 1.7.0
it runs on k8s with the glue
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
)
Could you attach the Task log? (feel free to DM it)