Deploying Weaviate Python Client to Lambda

I’m deploying a simple test function to a python 3.11 lambda function. I have a weaviate layer attached to it with weaviate-client installed. when i try and import weaviate, I get:

“errorMessage”: “/lib64/ version `GLIBC_2.28’ not found (required by /opt/python/cryptography/hazmat/bindings/”

it is my understanding that lambda uses an older version of GLIBC. Usually the solution to something like this would be to use an older wheel,

for example: pip install weaviate-client --platform manylinux_2_12_x86_64 --only-binary=:all:

but this leads to conflicting dependancies and wont install. any ideas?

hi @Jonathan_Yapp ! Welcome to our community :hugs:

I have not used weaviate-client with Lambda. :frowning:

I will try to experiment on that this week and will get back here. Also, I can try escalating this with our team.


1 Like