Open shrutimantri opened 8 months ago
The examples shown on this page: https://kestra.io/plugins/tasks/io.kestra.plugin.scripts.python.commands should work seamlessly.
The first example with Conda is successful, but does not run "conda activate myCondaEnv" successfully. The logs have this warning: "/bin/sh: 1: conda: not found" implying the conda command did not work.
Take the first example on the Commands task page:
id: python_venv namespace: dev tasks: - id: hello type: io.kestra.plugin.scripts.python.Commands namespaceFiles: enabled: true runner: PROCESS beforeCommands: - conda activate myCondaEnv commands: - python etl_script.py
And execute the flow.
id: python_venv namespace: dev
tasks:
Expected Behavior
The examples shown on this page: https://kestra.io/plugins/tasks/io.kestra.plugin.scripts.python.commands should work seamlessly.
Actual Behaviour
The first example with Conda is successful, but does not run "conda activate myCondaEnv" successfully. The logs have this warning: "/bin/sh: 1: conda: not found" implying the conda command did not work.
Steps To Reproduce
Take the first example on the Commands task page:
And execute the flow.
Environment Information
Example flow
id: python_venv namespace: dev
tasks: