Giter Site home page Giter Site logo

sl4mmer / eth_rpc_api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from consensys/ethjsonrpc

2.0 2.0 3.0 105 KB

Python JSON-RPC client for the Ethereum blockchain. Forked since the original library is not supported any more

License: MIT License

Python 100.00%
ethereum jsonrpc python

eth_rpc_api's People

Contributors

afdudley avatar arachnid avatar christianlundkvist avatar corbinbs avatar danielnovy avatar maurycyp avatar sl4mmer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ioncebotari ztgx

eth_rpc_api's Issues

Coincurve error during installation

I preinstalled libssl-dev and other packages mentioned in the ethjsonrpc
libssl-dev is already the newest version (1.1.1d-0+deb10u6).

Here is the Error message I get:

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-cj2t9bsr/coincurve/setup.py
';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, fi
le
, 'exec'))" install --record /tmp/pip-record-fvmuxk9f/install-record.txt --single-version-externally-managed --
compile --user --prefix=" failed with error code 1 in /tmp/pip-install-cj2t9bsr/coincurve/

Here is the full install log (in sudo mode just to make sure its not some lock problem):

Collecting eth_rpc_api
Requirement already satisfied: requests==2.* in /usr/local/lib/python3.7/dist-packages (from eth_rpc_api) (2.25.1)
Collecting ethereum==2.* (from eth_rpc_api)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests==2.->eth_rpc_api) (1.26.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests==2.
->eth_rpc_api) (2020.12.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests==2.->eth_rpc_api) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests==2.
->eth_rpc_api) (2.10)
Requirement already satisfied: future in /usr/local/lib/python3.7/dist-packages (from ethereum==2.->eth_rpc_api) (0.18.2)
Requirement already satisfied: pycryptodome>=3.4.7 in /usr/local/lib/python3.7/dist-packages (from ethereum==2.
->eth_rpc_api) (3.10.1)
Requirement already satisfied: pysha3>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from ethereum==2.->eth_rpc_api) (1.0.2)
Collecting coincurve>=7.0.0 (from ethereum==2.
->eth_rpc_api)
Using cached https://files.pythonhosted.org/packages/65/31/9f13921cc7ca27059af4def1a9d1277a6a252dea967b62f9ea05cc2a4115/coincurve-15.0.0.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Requirement already satisfied: repoze.lru in /usr/local/lib/python3.7/dist-packages (from ethereum==2.->eth_rpc_api) (0.7)
Requirement already satisfied: rlp<2.0.0,>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from ethereum==2.
->eth_rpc_api) (1.2.0)
Requirement already satisfied: scrypt in /usr/local/lib/python3.7/dist-packages (from ethereum==2.->eth_rpc_api) (0.8.18)
Requirement already satisfied: pbkdf2 in /usr/local/lib/python3.7/dist-packages (from ethereum==2.
->eth_rpc_api) (1.3)
Requirement already satisfied: PyYAML in /usr/local/lib/python3.7/dist-packages (from ethereum==2.->eth_rpc_api) (5.4.1)
Requirement already satisfied: pyethash<1.0.0,>=0.1.27 in /usr/local/lib/python3.7/dist-packages (from ethereum==2.
->eth_rpc_api) (0.1.27)
Requirement already satisfied: py-ecc in /usr/local/lib/python3.7/dist-packages (from ethereum==2.->eth_rpc_api) (5.2.0)
Requirement already satisfied: asn1crypto in /usr/lib/python3/dist-packages (from coincurve>=7.0.0->ethereum==2.
->eth_rpc_api) (0.24.0)
Requirement already satisfied: cffi>=1.3.0 in /usr/local/lib/python3.7/dist-packages (from coincurve>=7.0.0->ethereum==2.->eth_rpc_api) (1.14.5)
Requirement already satisfied: eth-utils<2,>=1.0.2 in /usr/local/lib/python3.7/dist-packages (from rlp<2.0.0,>=1.0.1->ethereum==2.
->eth_rpc_api) (1.10.0)
Requirement already satisfied: cached-property<2,>=1.5.1 in /usr/local/lib/python3.7/dist-packages (from py-ecc->ethereum==2.->eth_rpc_api) (1.5.2)
Requirement already satisfied: mypy-extensions>=0.4.1 in /usr/local/lib/python3.7/dist-packages (from py-ecc->ethereum==2.
->eth_rpc_api) (0.4.3)
Requirement already satisfied: eth-typing<3.0.0,>=2.1.0 in /usr/local/lib/python3.7/dist-packages (from py-ecc->ethereum==2.->eth_rpc_api) (2.2.2)
Requirement already satisfied: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.3.0->coincurve>=7.0.0->ethereum==2.
->eth_rpc_api) (2.20)
Requirement already satisfied: cytoolz<1.0.0,>=0.10.1; implementation_name == "cpython" in /usr/local/lib/python3.7/dist-packages (from eth-utils<2,>=1.0.2->rlp<2.0.0,>=1.0.1->ethereum==2.->eth_rpc_api) (0.11.0)
Requirement already satisfied: eth-hash<0.4.0,>=0.3.1 in /usr/local/lib/python3.7/dist-packages (from eth-utils<2,>=1.0.2->rlp<2.0.0,>=1.0.1->ethereum==2.
->eth_rpc_api) (0.3.1)
Requirement already satisfied: toolz>=0.8.0 in /usr/local/lib/python3.7/dist-packages (from cytoolz<1.0.0,>=0.10.1; implementation_name == "cpython"->eth-utils<2,>=1.0.2->rlp<2.0.0,>=1.0.1->ethereum==2.*->eth_rpc_api) (0.11.1)
Building wheels for collected packages: coincurve
Running setup.py bdist_wheel for coincurve: started
Running setup.py bdist_wheel for coincurve: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-gs4r_xm8/coincurve/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-7urxtptl --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/coincurve
copying coincurve/types.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/context.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/init.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/keys.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/_windows_libsecp256k1.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/flags.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/ecdsa.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/utils.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/py.typed -> build/lib.linux-x86_64-3.7/coincurve
running build_clib
/tmp/pip-install-gs4r_xm8/coincurve/libsecp256k1/autogen.sh: 3: /tmp/pip-install-gs4r_xm8/coincurve/libsecp256k1/autogen.sh: autoreconf: not found
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-gs4r_xm8/coincurve/setup.py", line 309, in
**setup_kwargs
File "/tmp/pip-build-env-xycj47rz/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-gs4r_xm8/coincurve/setup.py", line 95, in run
_bdist_wheel.run(self)
File "/tmp/pip-build-env-xycj47rz/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-gs4r_xm8/coincurve/setup.py", line 152, in run
subprocess.check_call([autogen], cwd=absolute('libsecp256k1'))
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/tmp/pip-install-gs4r_xm8/coincurve/libsecp256k1/autogen.sh']' returned non-zero exit status 127.


Running setup.py clean for coincurve
Failed to build coincurve
Installing collected packages: coincurve, ethereum, eth-rpc-api
Running setup.py install for coincurve: started
Running setup.py install for coincurve: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-gs4r_xm8/coincurve/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-0r2e29o8/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/coincurve
copying coincurve/types.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/context.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/init.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/keys.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/_windows_libsecp256k1.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/flags.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/ecdsa.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/utils.py -> build/lib.linux-x86_64-3.7/coincurve
copying coincurve/py.typed -> build/lib.linux-x86_64-3.7/coincurve
running build_clib
/tmp/pip-install-gs4r_xm8/coincurve/libsecp256k1/autogen.sh: 3: /tmp/pip-install-gs4r_xm8/coincurve/libsecp256k1/autogen.sh: autoreconf: not found
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-gs4r_xm8/coincurve/setup.py", line 309, in
**setup_kwargs
File "/tmp/pip-build-env-xycj47rz/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-xycj47rz/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-gs4r_xm8/coincurve/setup.py", line 152, in run
subprocess.check_call([autogen], cwd=absolute('libsecp256k1'))
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/tmp/pip-install-gs4r_xm8/coincurve/libsecp256k1/autogen.sh']' returned non-zero exit status 127.

----------------------------------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.