CondaPkg installation errors

Getting this ImportError/traceback after installing snowflake-connector-python using CondaPkg:
ERROR: Python: ImportError: dlopen(/Users/michaelmartin/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/lib-dynload/_ssl.cpython-312-darwin.so, 0x0002): Symbol not found: _X509_STORE_get1_objects
Referenced from: /Users/michaelmartin/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/lib-dynload/_ssl.cpython-312-darwin.so
Expected in: <4C4C4428-5555-3144-A131-ADF0FF8E810E> /Users/michaelmartin/.julia/artifacts/91d16d8e67cf04eb9240c5d28f057b567e2b8dab/lib/libcrypto.3.dylib
Python stacktrace:
[1]
@ ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/ssl.py:100
[2]
@ ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/site-packages/snowflake/connector/vendored/urllib3/contrib/pyopenssl.py:74
[3]
@ ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/site-packages/snowflake/connector/ssl_wrap_socket.py:28
[4]
@ ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/site-packages/snowflake/connector/network.py:30
[5]
@ ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/site-packages/snowflake/connector/auth/_auth.py:55
[6]
@ ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/site-packages/snowflake/connector/auth/init.py:7
[7]
@ ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/site-packages/snowflake/connector/connection.py:37
[8]
@ ~/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/site-packages/snowflake/connector/init.py:19
Stacktrace:
[1] pythrow()
@ PythonCall.Core ~/.julia/packages/PythonCall/S5MOg/src/Core/err.jl:92
[2] errcheck
@ ~/.julia/packages/PythonCall/S5MOg/src/Core/err.jl:10 [inlined]
[3] pyimport(m::String)
@ PythonCall.Core ~/.julia/packages/PythonCall/S5MOg/src/Core/builtins.jl:1444
[4] map
@ ./tuple.jl:292 [inlined]
[5] pyimport(::String, ::String)
@ PythonCall.Core ~/.julia/packages/PythonCall/S5MOg/src/Core/builtins.jl:1447
[6] top-level scope

What does it take to get CondaPkg to install the python lib correctly?

Try again after you remove the .CondaPkg directory and its contents.

1 Like

Welcome Mike, Please read this topic to make it easier to help you. Please edit you post and write your error within quoted code.

Removed the .CondaPkg directory, and the env re-built, apparently running into an error w/ the size of the numpy.dtype. Expected 98 from the C header, but got 88 from the PyObject, so this must be down to my Mac’s hardware. Thanks for trying, all.