Open thaob1d6 opened 1 year ago
Still not fixed.
Same issue here. This repo is completely broken if anybody uses Python 3.10 or above.
Python 3.10 was released over 3 years ago! I’m using Python 3.11.
It’s not a difficult fix:
venv/lib/python3.11/site-packages/huobi/connection/impl/restapi_invoker.py >> call_sync():
dict_data = json.loads(response.text) # Remove parameter ‘encoding’, similarly for all other json.loads() calls.
I use python 3.10, what should I do to use API sdk? `
` Some error comeup TypeError: JSONDecoder.init() got an unexpected keyword argument 'encoding'