'DBT RecursionError

I've installed dbt on my windows PC. after some configurations I've executed "dbt deug" 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

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?

dbt


Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mpatek