在运行python代码时,导入matplotlib没有问题,但是提示这个错误: AttributeError: module ‘matplotlib.cbook’ has no attribute ‘iterable’
错误原因: 版本问题,可能是你的版本太高了
解决方案: 将matplotlib 版本切换至2.2.3
操作步骤: file --》setting–》进入设置页面后点击右面所框的添加按钮
最后点击 install package 即安装成功
在运行python代码时,导入matplotlib没有问题,但是提示这个错误: AttributeError: module ‘matplotlib.cbook’ has no attribute ‘iterable’
错误原因: 版本问题,可能是你的版本太高了
解决方案: 将matplotlib 版本切换至2.2.3
操作步骤: file --》setting–》进入设置页面后点击右面所框的添加按钮
最后点击 install package 即安装成功