解决Python安装pyecharts模块报错的方法

pip install pyecharts
在使用地图前需要安装一下适合自己的地图包:
要记得安装对应的地图拓展:

选择自己需要的安装的地图模块
$ pip install echarts-countries-pypkg
$ pip install echarts-china-provinces-pypkg
$ pip install echarts-china-cities-pypkg
$ pip install echarts-china-counties-pypkg
$ pip install echarts-china-misc-pypkg
$ pip install echarts-united-kingdom-pypkg

安装地图模块时候提示以下错误:

提示错误关键信息关键信息: Getting requirements to build wheel did not run successfully

解决方法
pip install wheel setuptools pip –upgrade

继续安装的地图模块
$ pip install echarts-countries-pypkg
$ pip install echarts-china-provinces-pypkg
$ pip install echarts-china-cities-pypkg
$ pip install echarts-china-counties-pypkg
$ pip install echarts-china-misc-pypkg
$ pip install echarts-united-kingdom-pypkg

作者:lele198838683

物联沃分享整理
物联沃-IOTWORD物联网 » 解决Python安装pyecharts模块报错的方法

发表回复