hi All, I'm new to dagster and i get the followin...
# ask-community
hi All, I'm new to dagster and i get the following error on using the simple dagster project generated by chat-gpt (using this to learn dagster)
mkdir my_dagster_project
cd my_dagster_project
pip install dagster pandas
import pandas as pd
Copy code
from dagster import pipeline, solid

def read_csv_file(context):
    df = pd.read_csv('numbers.csv')
    return df['number']

def compute_sum(context, numbers):
    total = sum(numbers)
    return total

def sum_pipeline():
    numbers = read_csv_file()
Copy code
dagster pipeline execute -f sum_pipeline.py
Error is: Usage: dagster [OPTIONS] COMMAND [ARGS]... Try 'dagster -h' for help. Error: No such command 'pipeline'.
What version of Dagster are you running?
Pipelines and solids are deprecated. Dagster uses ops ans jobs now
Yep, as Qwame mentioned, pipelines are now deprecated. Instead you can use jobs:
Copy code
dagster job execute ....
Thank you Qwame and claire 🙂 ... I'll try this out