# Problem using python and sql (postgres) models 

**URL:** https://discourse.getdbt.com/t/problem-using-python-and-sql-postgres-models/13233
**Category:** Show and Tell
**Created:** [May 7, 2024, 10:16pm UTC](https://discourse.getdbt.com/t/problem-using-python-and-sql-postgres-models/13233 "2024-05-07T22:16:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Remi27](https://avatars.discourse-cdn.com/v4/letter/r/82dd89/32.png) [@Remi27](https://discourse.getdbt.com/u/Remi27)
#### Post date: [May 7, 2024, 10:16pm UTC](https://discourse.getdbt.com/t/problem-using-python-and-sql-postgres-models/13233/1 "2024-05-07T22:16:50Z")

</div>

Good morning,

I use a postgres adapter in my dbt project, I also want to use python models but I have this error: 09:53:37 Completed with 1 error and 0 warnings:  
09:53:37  
09:53:37 Runtime Error in model test (models/sgf\_script/test.py)  
Materialization “materialization\_table\_default” only supports languages [‘sql’]; got “python”

Please, I need your help.

---

<div class="post-metadata">

### Author: ![nathanjones4323](https://avatars.discourse-cdn.com/v4/letter/n/e99b99/32.png) [@nathanjones4323](https://discourse.getdbt.com/u/nathanjones4323)
#### Post date: [May 17, 2024, 5:04pm UTC](https://discourse.getdbt.com/t/problem-using-python-and-sql-postgres-models/13233/2 "2024-05-17T17:04:54Z")

</div>

Python models are not support for Postgres yet.

> **[Python models | dbt Developer Hub](https://docs.getdbt.com/docs/build/python-models#specific-data-platforms)**
>
> dbt Core v1.3 adds support for Python models. Note that only specific data platforms support dbt-py models.
