I am also having an issue getting dbt to run in pr...
# prefect-dbt
d
I am also having an issue getting dbt to run in production when it has no issue running locally. I am using the new
.deploy()
method to create a docker image and push to an azure container registry then running my deployment from K8s. Seems to be some type of import error:
Copy code
PID 147 stream output:
[0m22:33:16  Finished running  in 0 hours 0 minutes and 0.31 seconds (0.31s).
[0m22:33:16  Encountered an error:
Runtime Error
  Database error while listing schemas in database "<OMITTED>"
  Database Error
    cannot import name 'SnowflakeOCSPAsn1Crypto' from 'snowflake.connector.ocsp_asn1crypto' (/usr/local/lib/python3.11/site-packages/snowflake/connector/ocsp_asn1crypto.py)
1
s
I've read that changing the version of it can help:
Copy code
pip install oscrypto@git+<https://github.com/wbond/oscrypto.git@d5f3437ed24257895ae1edd9e503cfb352e635a8>
but I haven't tried it
d
Sorry for late response. This resolved it.
catjam 1