今天装了MNE,阅读tutorial时,jupyter下一开始运行正常,但最后一步报错,提示要更新matplotlib。结果,更新后之前运转正常的程序一直报错。主要是两种报告:
import matplotlib.pyplot as plt
1:matplotlib AttributeError: module 'matplotlib' has no attribute 'get_data_path'
2: module 'matplotlib.cbook' has no attribute '_make_keyword_only'
网上近似报错基本都是提示安装冲突。相关讨论见AttributeError: module 'matplotlib' has no attribute 'get_data_path' on Visual Studio's jupyter-notebook