dbt安装-雪花失败,加密和MarkupSafe已过时



使用pip-install-dbt雪花在虚拟环境中安装dbt失败,出现以下错误:

ERROR: pyopenssl 22.1.0 has requirement cryptography<39,>=38.0.0, but you'll have cryptography 36.0.2 which is incompatible.
ERROR: werkzeug 2.2.2 has requirement MarkupSafe>=2.1.1, but you'll have markupsafe 2.0.1 which is incompatible.

雪花包似乎有较旧版本的加密和MarkupSafe。如有任何帮助,我们将不胜感激。

嘿,我遇到了同样的问题,我通过固定pyopenssl版本pyopenssl==22.0.0来修复它,这个版本具有最小的依赖性cryptography>=35.0

较新的pyopenssl版本对cryptography>=37.0.2进行了依赖性更改,这与cryptography==36.0.2的雪花连接器要求相冲突

最新更新