weaviate-python-client
weaviate-python-client copied to clipboard
AWS Lambda unable to upload package
How to reproduce this bug?
I made a lamdba function with the weaviate package download
I tried to upload the file through zip and create a layer with the package included but it did not work either way
I followed this doc to use weaviate in python: https://repost.aws/knowledge-center/lambda-import-module-error-python
And this document to zip packages with the function: https://docs.aws.amazon.com/lambda/latest/dg/python-package.html
What is the expected behavior?
It should be able to have a lmabda that runs this package
What is the actual behavior?
When trying to import this package the lamdba function simply cannot and gives this error:
{
"errorMessage": "Unable to import module 'lambda_function': /opt/python/cryptography/hazmat/bindings/_rust.abi3.so: invalid ELF header",
"errorType": "Runtime.ImportModuleError",
"requestId": "f403ee24-e45f-400c-982d-7df00a292652",
"stackTrace": []
}
Supporting information
No response
Server Version
3.25.3 python client
Code of Conduct
- [X] I have read and agree to the Weaviate's Contributor Guide and Code of Conduct