Installing python package in DBT

The problem I’m having

I’m building a model using python and want to install CBSODATA package. I have been searching the tutorial how install the python packages in dbt but could not find one. Can anybody tell me how to install the python package in dbt?

The context of why I’m trying to do this

I’m building a model using python and want to install CBSODATA package

What I’ve already tried

I have been searching the tutorial how install the python packages in dbt but could not find one. Can anybody tell me how to install the python package in dbt?

Some example code or error messages

100357 (P0000): Python Interpreter Error:
12:49:13    Traceback (most recent call last):
12:49:13      File "_udf_code.py", line 6, in <module>
12:49:13    ModuleNotFoundError: No module named 'cbsodata'

If you are talking about dbt Python models (Python models | dbt Developer Hub)

They run python in your data platform (via dataproc for BigQuery, via snowpark for Snowflake or in clusters for databricks. The python package must be available in your data platform

See Python models | dbt Developer Hub for how to install python packages for each specific data platform