pyecharts中导入Bar出现的问题

问题

安装pyecharts成功,但是在导入的过程from pyecharts import Bar时,出现报错

>>> from pyecharts import Bar
Traceback (most recent call last):
  File "", line 1, in 
ImportError: cannot import name 'Bar'

通过查询网络信息,发现是版本问题,将版本应改为pyecharts==0.5.11

在其中,注意:

pip install pyecharts==0.5.11
pip list # 查看已安装的模块
pip uninstall pyecharts # 卸载某个模块

你可能感兴趣的:(python)