James Rosenthal
02/08/2023, 6:40 PMload_snowflake.py
. When I run:
dagster-airbyte check --module assets_modern_data_stack.assets.load_snowflake:airbyte_reconciler
I keep on getting the error:
ModuleNotFoundError: No module named 'assets_modern_data_stack'
Does anyone know why I might be encountering this error and how I can fix it? I made sure that I was running the command from the same directory that has assets_modern_data_stack
. Thanks!Loading module...
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/dagster_managed_elements/cli.py", line 43, in get_reconcilable_objects_from_module
module = importlib.import_module(module_str)
File "/opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'assets_modern_data_stack'
python3 -m assets_modern_data_stack.utils.setup_airbyte
But now I am getting an error that my connection to the source Postgres server is failing. These are the same parameters I used to connect successfully in the Airbyte UI, so I am not sure why they are not working here... checking the AWS settings to debugben
02/09/2023, 11:22 PMdagster-airbyte check
error you’re seeing is adding the --working-directory .
argument, this will append the current directory to the Python path so it can find modules located where you’re running the commanddagster-airbyte check --module foobar --working-directory .