https://dagster.io/ logo
#dagster-support
Title
# dagster-support
s

Sundara Moorthy

01/31/2023, 6:31 PM
Hi Team, how should we pass the value of --working-directory. Currently i have the workspace.yaml as below. And i tried to run it using "dagster dev -f project/X/Y.py -w project/workspace.yaml" and i am getting below attached error . Note: Inside the Y.py i have imported some of the modules from the following path project/X/Y1.py
Copy code
load_from:
  - python_file: project/X/Y.py
    working_directory: project/workspace.yaml
Issue :
Copy code
If another working directory should be used, please explicitly specify the appropriate path using the `-d` or `--working-directory` for CLI based targets or the `working_directory` configuration option for `python_file`-based workspace targets.
Any help on this issue ?
s

Sean Davis

01/31/2023, 7:20 PM
Perhaps double-check that you are using
-d
or
--working-directory
and not
-w
for specifying the working directory path.
j

jamie

01/31/2023, 9:13 PM
Hi @Sundara Moorthy! right now
dagster dev
doesn’t support
working-directory
You could instead run
dagit -working-directory
👍 1