1. module ‘matplotlib.cbook’ has no attribute ‘iterable’
参考方案:AttributeError: module ‘matplotlib.cbook‘ has no attribute ‘iterable‘错误
据说是版本问题,但是因为我另一门课需要保持matplotlib的版本在3.2以上
因此我新建了一个虚拟环境专门做这个project。
conda指令如下:
#创建一个虚拟环境
conda create -n SNA37 python=3.7
#查看已有环境
conda info -e
#(或者)
conda env list
# 每次使用都要激活
conda activate SNA37
# 查看当前环境下所有已安装的包
conda list