ethjsonrpc已经安装,我正在使用python 3.6.4。
但无法导入ethjsonrpc 最有趣的部分是它可以更早地运行。
错误是
from ethjsonrpc import EthJsonRpc
回溯(最近通话最近):
File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.6/site-packages/ethjsonrpc/__init__.py", line 1, in <module> from ethjsonrpc.client import (EthJsonRpc, ParityEthJsonRpc, File "/usr/local/lib/python3.6/site-packages/ethjsonrpc/client.py", line 7, in <module> from ethereum import utils File "/home/user/python/ethereum.py", line 17, in <module> from ethjsonrpc import EthJsonRpc ImportError: cannot import name 'EthJsonRpc'