question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running with dbt=0.18.1 Encountered an error: The library Security could not be found

See original GitHub issue

Describe the bug

Recently upgraded to Mac OS Big Sur and dbt now returns an error when calling dbt deps and other commands

Steps To Reproduce

On Big Sur, run dbt deps

Expected behavior

Screenshots and log output

If applicable, add screenshots or log output to help explain your problem. image

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.1
   latest version: 0.18.1

Up to date!

Plugins:
  - bigquery: 0.18.1
  - snowflake: 0.18.1
  - redshift: 0.18.1
  - postgres: 0.18.1```

**The operating system you're using:**
Mac OS Big Sur
**The output of `python --version`:**
Python 3.7.1
### Additional context
Did some googling and it may be an issue with snowflake and Big Sur compatibility. 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
jtalmicommented, Dec 7, 2020

@jtcohen6 the stackoverflow gods smiled on me today. someone solved this by upgrading their version of oscrypto to 1.2.1:

https://stackoverflow.com/questions/65012259/snowsql-fails-with-the-library-security-could-not-be-found-after-upgrading-to

so i ran pip install oscrypto==1.2.1 and it works fine now.

0reactions
jtalmicommented, Dec 5, 2020

Retried using pip==20.2.1 (with the old dependency resolver) and still getting the same cryptography issue as above. As to my original issue…still no idea. Hopefully something pops up on stack overflow soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running with dbt=0.18.1 Encountered an error: The library ...
Describe the bug Recently upgraded to Mac OS Big Sur and dbt now returns an error when calling dbt deps and other commands...
Read more >
SnowSQL fails with "The library Security could not be found ...
I was running into the same thing and the only help I can find was this thread and a few unanswered github issues....
Read more >
Help! I can't install dbt [Nov/Dec 2020]
The most recent version of dbt (v0.18.1) is not compatible with python 3.9 ... Encountered an error: The library Security could not be...
Read more >
Can no longer use Snowflake connector with Big Sur
I just upgraded to Big Sur and can no longer connect to snowflake. Getting the following error: The library Security could not be...
Read more >
Hi Community, unable to connect to snowsql,using the below ...
Btw, I use another command line tool called DBT, which actually runs queries against our Snowflake instance using Snowflake's Python library.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found