安装pyecharts报错ModuleNotFoundError: No module named ‘pyecharts_snapshot
- 安装方法
pip install pyecharts
- 正常导入
import pyecharts
- 报错信息
ERROR:lml.utils:failed to import pyecharts_snapshot
Traceback (most recent call last):
File "D:\Envs\mytest\lib\site-packages\lml\utils.py", line 43, in do_import
plugin_module = __import__(plugin_module_name)
ModuleNotFoundError: No module named 'pyecharts_snapshot'
- 原因:缺少这个依赖包
- 解决办法
pip install pyecharts-snapshot