Unanswered
Hi Everybody.
When I Want To Force The Agent To Not Reproduce My Local Pip Environment, I Add
task.set_script(working_dir=dir, entry_point="my_script.py")
Why do you have this part? isn't it the same code, the script entry point is auto detected ?
... or when I run my_script.py locally (in order to create and enqueue the task)?
the latter, When the script is running locally
So something like
os.path.join(os.path.dirname(file), "requirements.txt")
is the right way?
Sure this will work 🙂
156 Views
0
Answers
2 years ago
one year ago