Ruben Anghel
02/21/2024, 11:15 AMcannot import name 'pipeline' from 'dagster' (/home/rubenanghel/.local/lib/python3.10/site-packages/dagster/__init__.py)
while importing module test2 from file /home/rubenanghel/my_dagster_project/test2.py. Local modules were resolved using the working directory /home/rubenanghel
. 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.
File "/home/rubenanghel/.local/lib/python3.10/site-packages/dagster/_grpc/server.py", line 408, in init
self._loaded_repositories: Optional[LoadedRepositories] = LoadedRepositories(
File "/home/rubenanghel/.local/lib/python3.10/site-packages/dagster/_grpc/server.py", line 242, in init
loadable_targets = get_loadable_targets(
File "/home/rubenanghel/.local/lib/python3.10/site-packages/dagster/_grpc/utils.py", line 40, in get_loadable_targets
else loadable_targets_from_python_file(python_file, working_directory)
File "/home/rubenanghel/.local/lib/python3.10/site-packages/dagster/_core/workspace/autodiscovery.py", line 26, in loadable_targets_from_python_file
loaded_module = load_python_file(python_file, working_directory)
File "/home/rubenanghel/.local/lib/python3.10/site-packages/dagster/_core/code_pointer.py", line 97, in load_python_file
raise DagsterImportError(