跳转至

install & upgrade

install

pip install chartspy

upgrade chartspy

pip uninstall chartspy -y  && pip install chartspy

change echarts version

from  chartspy import  echarts
from chartspy import g2plot

echarts.ECHARTS_JS_URL = "https://unpkg.com/echarts@latest/dist/echarts.min.js"
g2plot.G2PLOT_JS_URL = "..."