[ERROR] Runtime.ImportModuleError: Unable to import module ‘index’: cannot import name ‘x509’ from ‘cryptography.hazmat.bindings._rust’ (unknown location) Traceback (most recent call last):
Please advice
[ERROR] Runtime.ImportModuleError: Unable to import module ‘index’: cannot import name ‘x509’ from ‘cryptography.hazmat.bindings._rust’ (unknown location) Traceback (most recent call last):
Please advice
Hi @humy66, this does not look like a weaviate python client error, it does not have a direct dependency to the cryptography
module. Can you share the script that is causing this and the full traceback?
This is what AWS provides in the log:
[ERROR] Runtime.ImportModuleError: Unable to import module 'index': cannot import name 'x509' from 'cryptography.hazmat.bindings._rust' (unknown location)
Traceback (most recent call last):
Hi,
I don’t know AWS lamda, but I think I’ve seen the error when people install many different packages together with the python client in the same environment.
Not sure if possible, but can you install the client into its own virtual env?
I believe this is not possible, however I’m not a python expert.
Perhaps concat AWS for help demonstrating Weaviate connectivity from AWS lambda.
I would also appreciate it if you can build and publish an AWS AMI with Weaviate server.
Regards
Nahum