John Kang
05/25/2022, 6:04 PMhelper_script
argument. Does anyone have any idea how I would write that script up?Kevin Kho
05/25/2022, 6:06 PMhelper_script="conda activate myenv"
but I honestly don’t know if it will stick. I guess you can try that and then check the python versionfrom prefect.tasks.shell import ShellTask
shell = ShellTask(helper_script="source ~/anaconda3/bin/activate fugue_tutorials", return_all=True,
log_stderr=True, stream_output=True)
shell.run(command = "pip show fugue")
John Kang
05/25/2022, 6:22 PM