<@WM13WM6JC> Since I wiped and redeployed my AKS c...
# ask-metaflow
c
@User Since I wiped and redeployed my AKS cluster this is the error I am seeing with the @conda decorator when run through Argo in the current metaflow release. As I had mentioned in our chat, it works great as soon as I
pip install metaflow-netflixext --upgrade
to use the v2 @conda decorator.
Copy code
Setting up task environment.
Downloading code package...
Code package downloaded.
Task is starting.
Bootstrapping environment...
Environment bootstrapped.
/bin/bash: line 1: metaflow_MinimumFlow_linux-64_c5b6dc01d4f4a08e54fef899876a247da78dfef5/bin/python: No such file or directory
Running:
Copy code
python minimum_flow.py --environment=conda --with retry argo-workflows create
python minimum_flow.py --environment=conda --with retry argo-workflows trigger
Pretty simple:
Copy code
from metaflow import FlowSpec, step, project, conda_base, environment

@project(name='minflow')
@conda_base(python="3.10.9",libraries={"pandas": "1.4.4", "python-duckdb": "0.6.1"})
class MinimumFlow(FlowSpec):
       
    @step
    def start(self):
        self.next(self.end)

    @step
    def end(self):
        print("Flow is done!")

if __name__ == "__main__":
    MinimumFlow()