为什么用 python 3.8.5 导入的 matplotlib 不起作用?
我正在运行 anaconda 版本 3,它是 64 位。我得到的错误是:
Matplotlib 安装版本为 3.3.2:
使用缓存的 matplotlib-3.3.2-cp38-cp38-win_amd64.whl (8.5 MB)
Python 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Ana
conda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Administrator\AppData\Roaming\Python\Python38\site-packages\mat
plotlib\__init__.py", line 139, in <module>
from . import cbook, rcsetup
File "C:\Users\Administrator\AppData\Roaming\Python\Python38\site-packages\mat
plotlib\rcsetup.py", line 26, in <module>
from matplotlib import animation, cbook
ImportError: cannot import name 'animation' from partially initialized module 'm
atplotlib' (most likely due to a circular import) (C:\Users\Administrator\AppDat
a\Roaming\Python\Python38\site-packages\matplotlib\__init__.py)
动漫人物
皈依舞
幕布斯7119047
相关分类