Help! I can't install dbt [Nov/Dec 2020]

Over the past few weeks, we’ve been hearing some common issues from folks trying to install dbt. I’ll keep this post updated as we have more information and better workarounds.

Python 3.9

The latest version of python (3.9.0) was released on October 5. Hooray!

The most recent version of dbt (v0.18.1) is not compatible with python 3.9, however. We plan to add support for it very soon (dbt#2822). Assuming it proves straightforward (:crossed_fingers:), our plan is to release two py39-compatible versions of dbt in the near term:

  • a patch release (v0.18.2) with no other changes
  • a beta or release candidate of the next minor version (v0.19.0)

In the meantime, we recommend installing dbt in an environment with python 3.6, 3.7, or 3.8.

Homebrew + Big Sur

As of this writing, Homebrew and macOS 11 Big Sur do not get along (brew#7857). These issues tend to crop up in the wake of new macOS versions (e.g. brew + Catalina, dbt + Catalina).

If you’ve upgraded your OS and try brew install dbt, you may see an error like:

Error: Your CLT does not support macOS 11.0.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.

For the time being, we recommend that you pip install dbt in an environment with python 3.6, 3.7, or 3.8. We’ll keep a close eye on the Homebrew team’s progress to add Big Sur support.

If you’re using dbt + Snowflake on Big Sur and have run into issues around the cryptography package, or saw an error like:

The library Security could not be found

Check out Jonathan’s issue here: