python安装阿里云库pyecharts 安装不上,求大佬指点一下

import pyecharts as pec
car=pec.Bar("阿斯旺","阿迪斯",width=1280,height=720)
car.add(['发额','底纹','阿凡达'],
[5,20,36])
car.render()

```C:\Users\LY\Desktop>pip3 install pyecharts
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: pyecharts in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (1.5.1)
Requirement already satisfied: jinja2 in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (from pyecharts) (2.10.3)
Requirement already satisfied: simplejson in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (from pyecharts) (3.16.0)
Requirement already satisfied: prettytable in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (from pyecharts) (0.7.2)
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (from jinja2->pyecharts) (1.1.1)

C:\Users\LY\Desktop>python pyy.py
Traceback (most recent call last):
File "pyy.py", line 2, in
car=pec.Bar("阿斯旺","阿迪斯",width=1280,height=720)
AttributeError: module 'pyecharts' has no attribute 'Bar'

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问