# dbt run Error: Unable to Load dbt\_cloud.yml

**URL:** <https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512>\
**Category:** Help\
**Created:** [October 25, 2023, 11:14pm UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512 "2023-10-25T23:14:19Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdoberneck](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@tdoberneck](https://discourse.getdbt.com/u/tdoberneck)\
**Post date:** [October 25, 2023, 11:14pm UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/1 "2023-10-25T23:14:19Z")

</div>

## The problem I’m having

I’m facing an issue with dbt on my VSCode terminal. I have a conda environment with dbt loaded. When I initialize the jaffle\_shop project and try to execute commands like `dbt run` or `dbt seed`, I encounter the following error:

```auto
error loading configuration: could not open dbt_cloud.yml for reading: `open C:\Users\Tyson\.dbt\dbt_cloud.yml: The system cannot find the file specified.`

```

I’m not sure why dbt is attempting to read from `dbt_cloud.yml` when I’m using dbt core. I’ve checked the specified directory, and the `dbt_cloud.yml` file doesn’t exist.

Has anyone faced a similar issue or can provide guidance on how to resolve this error?

Thank you in advance for your assistance!

## The context of why I’m trying to do this

Just trying to run the project and learn more about working with dbt on my own machine.  
Everything has been straightforward up until this error.

## What I’ve already tried

I’ve tried adding a dbt\_cloud.yml file that looks like

```auto
#dbt_cloud.yml
project-id: 1234567

```

but I then receive more errors asking for more information I do not have.

---

<div class="post-metadata">

**Author:** ![a\_slack\_user](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/a_slack_user/32/1629_2.png) [@a\_slack\_user](https://discourse.getdbt.com/u/a_slack_user)\
**Post date:** [October 26, 2023, 2:58am UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/2 "2023-10-26T02:58:37Z")

</div>

How did you install dbt? Is there a chance you did  
`pip install dbt`  
and not  
`pip install dbt-[adapter name]`  
?

Note: `@Josh Devlin (he)` originally [posted this reply in Slack](https://getdbt.slack.com/archives/CBSQTAPLG/p1698289110180039?thread_ts=1698275683.289569&cid=CBSQTAPLG). It might not have transferred perfectly.

---

<div class="post-metadata">

**Author:** ![tdoberneck](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@tdoberneck](https://discourse.getdbt.com/u/tdoberneck)\
**Post date:** [October 26, 2023, 6:00am UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/3 "2023-10-26T06:00:06Z")

</div>

Thank you for your reply,

I installed dbt through

```auto
pip install dbt-core

```

I also tried uninstalling and reinstalling and am still getting the same error.

---

<div class="post-metadata">

**Author:** ![a\_slack\_user](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/a_slack_user/32/1629_2.png) [@a\_slack\_user](https://discourse.getdbt.com/u/a_slack_user)\
**Post date:** [October 26, 2023, 6:17am UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/4 "2023-10-26T06:17:26Z")

</div>

What does `pip freeze | grep dbt` give you?

Note: `@Josh Devlin (he)` originally [posted this reply in Slack](https://getdbt.slack.com/archives/CBSQTAPLG/p1698301038455229?thread_ts=1698275683.289569&cid=CBSQTAPLG). It might not have transferred perfectly.

---

<div class="post-metadata">

**Author:** ![a\_slack\_user](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/a_slack_user/32/1629_2.png) [@a\_slack\_user](https://discourse.getdbt.com/u/a_slack_user)\
**Post date:** [October 26, 2023, 10:47am UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/5 "2023-10-26T10:47:42Z")

</div>

\<@U014KQZRLF5\> I’m having the same issue running dbt locally and also installed dbt-core in a new venv

Note: `@Dstorms101` originally [posted this reply in Slack](https://getdbt.slack.com/archives/CBSQTAPLG/p1698317253137319?thread_ts=1698275683.289569&cid=CBSQTAPLG). It might not have transferred perfectly.

---

<div class="post-metadata">

**Author:** ![brunoszdl](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/brunoszdl/32/4113_2.png) [@brunoszdl](https://discourse.getdbt.com/u/brunoszdl)\
**Post date:** [October 26, 2023, 1:34pm UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/6 "2023-10-26T13:34:49Z")

</div>

When you run `which dbt` and `where dbt`, what are the outputs?

It seems the dbt your machine is trying to use is the dbt-cloud-cli and not dbt-core. We just have to understand why

---

<div class="post-metadata">

**Author:** ![dshain](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@dshain](https://discourse.getdbt.com/u/dshain)\
**Post date:** [November 14, 2023, 6:18pm UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/7 "2023-11-14T18:18:07Z")

</div>

I’m having this same issue as well. running which and where are in the same location, and running pip freeze | grep dbt brings back this

dbt==1.0.0.34.14  
dbt-bigquery==1.6.1  
dbt-core==1.6.8  
dbt-extractor==0.4.1  
dbt-semantic-interfaces==0.2.3

---

<div class="post-metadata">

**Author:** ![brunoszdl](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/brunoszdl/32/4113_2.png) [@brunoszdl](https://discourse.getdbt.com/u/brunoszdl)\
**Post date:** [November 14, 2023, 6:29pm UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/8 "2023-11-14T18:29:25Z")

</div>

> [@dshain](#):
>
> e issue as well. running which and where are in the s

What is the location it returns when you run `which dbt` or `where dbt`?

---

<div class="post-metadata">

**Author:** ![dshain](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@dshain](https://discourse.getdbt.com/u/dshain)\
**Post date:** [November 14, 2023, 6:34pm UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/9 "2023-11-14T18:34:21Z")

</div>

…venv\Scripts\dbt and …venv\Scripts\dbt.exe

---

<div class="post-metadata">

**Author:** ![brunoszdl](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/brunoszdl/32/4113_2.png) [@brunoszdl](https://discourse.getdbt.com/u/brunoszdl)\
**Post date:** [November 14, 2023, 6:47pm UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/10 "2023-11-14T18:47:42Z")

</div>

It seems your system is trying to run the dbt-cloud-cli, which is the lib that is searching for the `cloud.yml`

**Try to solve this issue following the official instructions below:**

> **[Install dbt Cloud CLI | dbt Developer Hub](https://docs.getdbt.com/docs/cloud/cloud-cli-installation?install=pip#install-dbt-cloud-cli)**
>
> Instructions for installing and configuring dbt Cloud CLI

If you already have dbt Core installed, the dbt Cloud CLI may conflict. Here are some considerations:

- **Reverting back to dbt Core from the dbt Cloud CLI**  
If you’ve already installed the dbt Cloud CLI and need to switch back to dbt Core:

```auto
pip install dbt-adapter_name --force-reinstall

```

For example, if I used Snowflake as an adapter, I would run: `pip install dbt-snowflake --force-reinstall`

---

<div class="post-metadata">

**Author:** ![dshain](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@dshain](https://discourse.getdbt.com/u/dshain)\
**Post date:** [November 14, 2023, 6:49pm UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/11 "2023-11-14T18:49:06Z")

</div>

updating dbt-core==1.6.8 to 1.7.1 fixed the issue

---

<div class="post-metadata">

**Author:** ![iiddrriiss20](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/iiddrriiss20/32/4437_2.png) [@iiddrriiss20](https://discourse.getdbt.com/u/iiddrriiss20)\
**Post date:** [August 24, 2024, 11:29pm UTC](https://discourse.getdbt.com/t/dbt-run-error-unable-to-load-dbt-cloud-yml/10512/12 "2024-08-24T23:29:30Z")

</div>

Hi, I’m facing the same problem when I try the `dbt build` command from the tutorial [here](https://docs.dagster.io/integrations/dbt/using-dbt-with-dagster/set-up-dbt-project), even though I am using `dbt-core` version 1.8.5 and I also tried your instructions. The same error occurs with other commands like `dbt debug`.

If there’s a new method or anything that can help, please let me know!
