cannot import name 'XXX' from 'pyecharts'

版权声明:转载请注明出处 https://blog.csdn.net/LI_AINY/article/details/90041658
  1. pyecharts常用的几个模块都不能导入
    cannot import name ‘Geo’ from ‘pyecharts’
    cannot import name ‘Style’ from ‘pyecharts’
    cannot import name ‘Bar’ from ‘pyecharts’
  2. 解决办法,先卸载之前的,然后再下载一个指定版本号的
    卸载pip uninstall pyecharts
    重新下载pip install pyecharts==0.5.11
    在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/LI_AINY/article/details/90041658