When I try to attach the snowflake-sqlalchemy library to a Python 3 cluster in Databricks it breaks my python build and it gives me the following error when I install subsequent libraries:
AttributeError: cffi library '_openssl' has no function, constant or global variable named 'Cryptography_HAS_ED25519'
I have tried attaching the latest version of the Cryptography library to the cluster separately however this gave me the same issue. I think it might be related to the following links:
https://github.com/snowflakedb/snowflake-connector-python/issues/32
In the second link it mentions a workaround:
The workaround is:
Uninstall cryptography by running pip uninstall cryptography
Delete the directory .../site-packages/cryptography/ manually
Reinstall snowflake-connector-python
Looks like the directory structure of cryptography changed since 1.7.2.*
Is there any way to uninstall the pre-installed cryptography 1.5 python library within Databricks so that I can reinstall the latest version of cryptography (2.5) with the new directory structure?