Consensys / Consensys/ethjsonrpc
Probably python3 issue: AttributeError: 'bytes' object has no attribute 'encode'
- Dominant language
- Python
- Stars
- 160
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Description
```
Traceback (most recent call last):
File "./gethrpc.py", line 2, in
from ethjsonrpc import EthJsonRpc
File "/usr/local/lib/python3.5/dist-packages/ethjsonrpc/__init__.py", line 1, in
from ethjsonrpc.client import (EthJsonRpc, ParityEthJsonRpc,
File "/usr/local/lib/python3.5/dist-packages/ethjsonrpc/client.py", line 7, in
from ethereum import utils
File "/usr/local/lib/python3.5/dist-packages/ethereum/utils.py", line 103, in
assert sha3('').encode('hex') == 'c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470'
AttributeError: 'bytes' object has no attribute 'encode'
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.