Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DBT RecursionError

Tags:

dbt

I've installed dbt on my Windows PC. After creating the necessary configuration, I've executed dbt debug successfully. I tried executing dbt run. I have a local Postgres installed, and I'm getting the following error:

RecursionError: maximum recursion depth exceeded while calling a Python object

Output of dbt --version
installed version: 1.0.4
   latest version: 1.0.4

Up to date!

Plugins:
  - postgres: 1.0.4 - Up to date!

Anything I can do?

like image 980
Ofer Elrom Avatar asked Oct 23 '25 08:10

Ofer Elrom


1 Answers

This is a known issue using dbt with Python 3.10: https://github.com/dbt-labs/dbt-core/issues/4560

dbt supports Python versions up to 3.9: https://docs.getdbt.com/faqs/install-python-compatibility

The solution is to use Python 3.9 instead of 3.10.

like image 102
mpatek Avatar answered Oct 27 '25 03:10

mpatek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!