You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.
So when I do pip2 install pyethapp, everything installs fine, but when I try to call pyethapp from the shell, I get this error:
Traceback (most recent call last):
File "/usr/bin/pyethapp", line 7, in <module>
from pyethapp.app import app
File "/usr/lib/python2.7/site-packages/pyethapp/app.py", line 15, in <module>
from devp2p.app import BaseApp
File "/usr/lib/python2.7/site-packages/devp2p/app.py", line 8, in <module>
from devp2p import crypto
File "/usr/lib/python2.7/site-packages/devp2p/crypto.py", line 7, in <module>
import pyelliptic
File "/usr/lib/python2.7/site-packages/pyelliptic/__init__.py", line 43, in <module>
from .openssl import OpenSSL
File "/usr/lib/python2.7/site-packages/pyelliptic/openssl.py", line 528, in <module>
OpenSSL = _OpenSSL(libname)
File "/usr/lib/python2.7/site-packages/pyelliptic/openssl.py", line 180, in __init__
self.ECDH_OpenSSL = self._lib.ECDH_OpenSSL
File "/usr/lib/python2.7/ctypes/__init__.py", line 379, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python2.7/ctypes/__init__.py", line 384, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/libcrypto.so.1.1: undefined symbol: ECDH_OpenSSL
A bit of searching led me to this issue: pyelliptic is depreciated by OpenSSL 1.1, and the main developer doesn't want to invest any more time into it: yann2192/pyelliptic#50
I short-circuited the libcrypto.so.1.1 by symlinking it to 1.0 - then pyethapp worked around this but failed with another error:
File "/usr/local/lib/python2.7/dist-packages/devp2p/app.py", line 8, in
from devp2p import crypto
File "/usr/local/lib/python2.7/dist-packages/devp2p/crypto.py", line 27, in
from Crypto.Hash import keccak
ImportError: cannot import name keccak
Probably something else.
For the time beeing it might be a good idea to explicitly linkt pyethapp to the 1.0.2 version of libcrypto which is still available on debian
System/environment
So when I do
pip2 install pyethapp
, everything installs fine, but when I try to callpyethapp
from the shell, I get this error:A bit of searching led me to this issue: pyelliptic is depreciated by OpenSSL 1.1, and the main developer doesn't want to invest any more time into it: yann2192/pyelliptic#50
They suggest we use this python cryptography library: https://github.com/pyca/cryptography
The text was updated successfully, but these errors were encountered: