Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dbt 1.8] An error occured while initializing the dbt project: No module named 'dbt.adapters.factory' #1029

Closed
1 task
anandgupta42 opened this issue Mar 26, 2024 · 3 comments
Labels
1.8-testing Issues related to supporting dbt 1.8 bug Something isn't working

Comments

@anandgupta42
Copy link
Contributor

Expected behavior

The functionality should work as it does in 1.7

Actual behavior

An error occured while initializing the dbt project: No module named 'dbt.adapters.factory'

Steps To Reproduce

@svipulrao98 Can you please add the steps to reproduce?

Log output/Screenshots

No response

Operating System

All

dbt version

1.8

dbt Adapter

Snowflake

dbt Power User version

1.8

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@anandgupta42 anandgupta42 added bug Something isn't working 1.8-testing Issues related to supporting dbt 1.8 labels Mar 26, 2024
@anandgupta42
Copy link
Contributor Author

dbt-adapters is an indepedent python lib now. https://github.com/dbt-labs/dbt-adapters/blob/1c137eec49e429eeb5551ca1525e14a5fd57e9d8/dbt/adapters/factory.py#L49 is the new home for method

@anandgupta42 anandgupta42 mentioned this issue Apr 3, 2024
2 tasks
@anandgupta42
Copy link
Contributor Author

fixed in 0.39.5

@petersjanjaap
Copy link

petersjanjaap commented Jan 14, 2025

pip install dbt-fabric fixed it for me, it adds the adapter for fabric. It's unfortunate it is imported into the cli functionality, because it requires you to install dbt-fabric, even though you are using a different db to interact with (say BigQuery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.8-testing Issues related to supporting dbt 1.8 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants