After you import the Pyecharts package Pycharm, the Bar there is a problem can not be successfully imported.
- The first thing to check is that in this project or another folder if there pyecharts named py file.
- After pyecharts pip install will install the latest version of pyecharts, version estimate is relatively high, the method is used when importing
- from pyecharts.charts import
- Found that there are still problems, the final approach (used when importing attention lowercase bar, when the system call bar.Bar):
PIP Uninstall pyecharts
PIP install pyecharts == 0.1.9.5
from pyecharts.charts Import bar
Chart = bar.Bar ( "National minimum temperature")