echarts-python icon indicating copy to clipboard operation
echarts-python copied to clipboard

python3 调用echart.plot()会报错

Open CrazyStoneJy opened this issue 8 years ago • 3 comments

TypeError: a bytes-like object is required, not 'str'

CrazyStoneJy avatar Dec 29 '17 09:12 CrazyStoneJy

+1 here

OldPanda avatar May 17 '18 22:05 OldPanda

一个临时的办法是把这一行改成 fobj.write(self._html().encode()) 。但感觉最好还是能有 py3 的完整支持。我的环境是 Python 3.6.5

OldPanda avatar May 17 '18 22:05 OldPanda

  • 1

Noaiii avatar May 24 '18 06:05 Noaiii