第一步:卸载原先的版本,我原先安装的是1.8.1的版本,不知道为什么突然不能用了 pip uninstall pyecharts 第二步:安装1.7.0的版本 pip install pyecharts==1.7.0