PendingDeprecationWarning: pyecharts 所有图表类型将在 v1.9.0 版本开始强制使用 ChartItem 进行数据项配置 😃 super().init(init_opts=init_opts)
解决方法:
点击Settings
安装有pycharm的到文件->设置里面找到pyecharts->双击
选择1.9.0版本,安装。等待安装成功。
AttributeError: module ‘pyecharts’ has no attribute ‘Line’
pyecharts中没有Line、Bar等,出现AttributeError: module ‘pyecharts’ has no attribute 'Line’错误。
解决方法:
点击Settings
安装有pycharm的到文件->设置里面找到pyecharts->双击
选择1.9.0版本,安装。等待安装成功。