-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GQLAlchemy install fails because of mgclient dependencies #58
Comments
Noticed similar when installing GQLAlchemy on Windows with Python 3.11 -> memgraph/gqlalchemy#290 |
I would like to add that I am also facing the same issue on an EC2 instance with Amazon linux and a conda environment:
However, after installing OpenSSL-static, zlib, and zlib-static, pymgclient could be installed. However, I am hit with a different error: I feel this is again due to a mismatch in the used OpenSSL package. I had used this command previously to explicitly define which OpenSSL to use in my conda environment: Some guidance would be much appreciated on this, as a large part of the workflow relies on pymgclient (I was on an ubuntu server before migrating to AWS), and I would rather avoid the work needed to modify this for the neo4j driver. These are my specs: NAME="Amazon Linux" |
Additional context: import is not working using venv on Amazon Linux 2, so this is not only related to Conda. cc @ad1arsh |
Here are the steps I recommended @ad1arsh to try:
User tried this with both Python 3.9 and Python 3.10 envs and it produces the same error as before: Additional context
It seems that other similar issues were resolved with the correct version of pymgclient being used, but on Amazon Linux 2 this is potentially not a fix. cc @as51340 @antoniofilipovic for awareness |
GQL is hard to install for usage on AWS Lambdas because of the dependencies, probably because OS environment is striped compared to conventional Linux images, so it probably requires a bit more steps.
The user tried to create an identical environment in custom docker image, running
amazonlinux:2
:pip3 install -t python gqlalchamy
First, the typical issues with OpenSSL not being visible popped out:
After installing OpenSSL-static, zlib, and zlib-static, the OpenSSL issue disappeared, and a strange linker failure was hit:
The user moved to the Neo4j Python driver.
Full context: https://discord.com/channels/842007348272169002/842338690109931520/1146269544118227054
The text was updated successfully, but these errors were encountered: