首页 > 解决方案 > 从 matplotlib.animation 加载“FuncAnimation”时遇到问题

问题描述

我需要从 matplotlib.animation 导入 FuncAnimation,但我失败并出现以下错误代码:

“ImportError:无法从 'matplotlib.animation' 导入名称 'FuncAnimation'(C:\Users\myName\Anaconda3\envs\py37\lib\site-packages\matplotlib\animation.py)”

我在这里看到了一个类似的问题,但出现了不同的错误消息,并且建议的修复对我不起作用。从 matplotlib.animation 导入 FuncAnimation 时出错

我在 Windows 10 下将 anaconda 与 Matplotlib 3.1.3、Python 3.7 和 Spyder 4.0.1 一起使用。感谢任何帮助!!!

标签: matplotlibanimationimporterrorsite-packages

解决方案


推荐阅读