jplana / python-etcd

A python client for etcd
Other
520 stars 210 forks source link

Cannot import etcd even I have installed python-etcd on my computer. #278

Closed y-Adrian closed 2 years ago

y-Adrian commented 2 years ago

I have install python-etcd 0.4.5 on my computer, but when I import this module, the error showed up.

import etcd Traceback (most recent call last) :
File "", line 1, in
File "/usr/local/lib/python3.7/site-packages/python etcd-0.4.5-py3.7.egg/etcd/ init.py", line 2, in \<module>
  from .client import Client
File "/usr/local/lib/python3.7/site-packages/python_etcd-0.4.5-py3.7.egg/etcd/client.py",line21,in \<module>
  import ssl
File "/usr/lib64/pvthon3.7/ssl.py", line 98, in
  import _ssl # if we can't import it, let the error propagate ImportError: /usr/lib64/python3.7/lib-dynload/_ssl.cpython-37m-x86_64-linux-gnu.so: symbol SSLv3_method version OPENSSL_1_1_0 not defined in file libssl.so.1.1 with link time reference

Here is the screenshort that may help you to get more about the problem : image

y-Adrian commented 2 years ago

The problem with symbol SSLv3_method version OPENSSL_1_1_0 not defined in file libssl.so.1.1 with link time reference seems to be common on arch, I met a lot like that on arch linux. Referencing here I solved it once. Here might help, too.