环境信息

  • 本地系统:win10
  • 本地开发环境:python(3.6.3),matplotlib(2.2.0)
  • 编辑器:JetBrains PyCharm 2017.3 x64

问题描述

  • 在导入“import matplotlib.pyplot as plt”时报错:
Traceback (most recent call last):
  File "D:/JetBrains/test/eeg_test/test.py", line 52, in <module>
    import matplotlib.pyplot as plt
  File "D:\JetBrains\pyEnv\python363\lib\site-packages\matplotlib\pyplot.py", line 115, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "D:\JetBrains\pyEnv\python363\lib\site-packages\matplotlib\backends\__init__.py", line 62, in pylab_setup
    [backend_name], 0)
  File "D:\JetBrains\PyCharm 2017.3\helpers\pycharm_matplotlib_backend\backend_interagg.py", line 17, in <module>
    verbose = matplotlib.verbose
AttributeError: module 'matplotlib' has no attribute 'verbose'

解决方法

相关文章:

  • 2022-12-23
  • 2022-01-17
  • 2021-09-16
  • 2021-07-10
  • 2021-07-17
  • 2021-11-10
  • 2021-09-15
  • 2021-12-19
猜你喜欢
  • 2021-08-17
  • 2021-12-09
  • 2021-12-31
  • 2021-05-06
  • 2022-12-23
  • 2021-08-29
相关资源
相似解决方案