pymgclient icon indicating copy to clipboard operation
pymgclient copied to clipboard

import mgclient error

Open dxjjhm opened this issue 2 years ago • 6 comments

ImportError: /data/anaconda3/envs/xss/lib/python3.10/site-packages/mgclient.cpython-310-x86_64-linux-gnu.so: undefined symbol: SSL_get1_peer_certificate

dxjjhm avatar Jun 16 '23 03:06 dxjjhm

#conda activate xss #openssl version #OpenSSL 1.1.1t 7 Feb 2023

python setup.py install successfully,

but import mgclient, throw such error as above,

dxjjhm avatar Jun 16 '23 05:06 dxjjhm

Might be related: https://github.com/memgraph/gqlalchemy/issues/294

katarinasupe avatar Dec 18 '23 12:12 katarinasupe

@dxjjhm Which OS are you using? I think we had the same issue last year, please check this

as51340 avatar Dec 21 '23 12:12 as51340

Investigated the issue, you are probably having locally old version of pymgclient. Clean pymgclient from global path (pip uninstall pymgclient gqlalchemy), activate your conda environmen and install ONLY gqlalchemy (pip install gqlalchemy). You should see that pymgclient 1.3.1 is being built while installing gqlalchemy.

as51340 avatar Dec 21 '23 13:12 as51340

Hi @dxjjhm, I know you opened this issue a while ago, but if you did manage to find a workaround or manage to try this out, do let us know 😄 I hope that what @as51340 provided could be a solution to this issue.

katarinasupe avatar Dec 21 '23 14:12 katarinasupe

Can this be related? https://github.com/memgraph/pymgclient/issues/53

katarinasupe avatar Dec 29 '23 16:12 katarinasupe