Unable to install dbt 0.19.1 on M1 Apple Silicon and python 3.8.6
See original GitHub issueDescribe the bug
While on a new apple silicon mac, the user can only install dbt 0.18.2. Attempting to upgrade using pip yields the following error message:
ERROR: Could not find a version that satisfies the requirement snowflake-connector-python[secure-local-storage]==2.3.6 (from dbt-snowflake)
ERROR: No matching distribution found for snowflake-connector-python[secure-local-storage]==2.3.6
Steps To Reproduce
pip install dbt
installs 0.18.2.
Expected behavior
Install the latest version (0.19.1) of dbt
Screenshots and log output
See above
System information
Which database are you using dbt with?
- postgres
- redshift
- bigquery
- [x ] snowflake
- other (specify: ____________)
The output of dbt --version
:
installed version: 0.18.2
latest version: 0.19.1
Your version of dbt is out of date! You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation
Plugins:
- bigquery: 0.18.2
- snowflake: 0.18.2
- redshift: 0.18.2
- postgres: 0.18.2
The operating system you’re using: Mac OS Big Sur
The output of python --version
:
Python 3.8.6
pip 21.0.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Unable to install dbt 0.19.1 on M1 Apple Silicon and python ...
Describe the bug While on a new apple silicon mac, the user can only install dbt 0.18.2. Attempting to upgrade using pip yields...
Read more >Installing dbt with Mac M1 Chips - InterWorks
Start by referencing the dbt Install Documentation. dbt includes specific instructions for installation on an M1 Mac.
Read more >Has anyone successfully gotten DBT to run on apple silicon?
It looks like it's possible to run DBT via Rosetta on the M1 chip for now. I followed a similar set of instructions...
Read more >Get dbt up and running from the command line on a MacBook ...
Step 1: Set up your Terminal to use Rosetta. · Step 2: Open your Terminal and uninstall any versions of dbt you may...
Read more >Why installation of dbt fails? - Failed building wheel for tree-sitter
I'm trying to install dbt tool to Window 10. There is Python 3.9 and also VS2019 installed.(I don't know why required).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had a tricky time getting dbt installed in my dev env using:
I tried running
But i was seeing errors about the grpcio lib failing to install with an error about
clang
. I found this comment https://github.com/grpc/grpc/issues/24677#issuecomment-741814641 and ran:And after that I was able to get dbt installed! Sharing in case it’s useful to anyone else 😃
@jtalmi I believe this is because of the version of
pyarrow
required bysnowflake-connector-python==2.3.6
. I think the best workaround for the time being is to instal Rosetta, which should then let you install via pip or Homebrew in a py38 as if using an Intel chip.This is definitely something we’re aware of (e.g. over in https://github.com/fishtown-analytics/dbt/issues/3162):
pip install dbt-[adapter]
snowflake-connector-python
in thedevelop
branch, which should now be M1/py39 compatible. This issue will be resolved in the next version of dbt (v0.20.0). Sorry for the pain in the meantime!