解决python报错:AttributeError: module ‘matplotlib.cm‘ has no attribute ‘spectral‘
最开始以为是matplotlib的版本问题,于是关闭文件进行了版本更新(不关闭python文件直接在命令行输入pipinstall--upgradematplotlib会报错:CouldnotinstallpackagesduetoanOSError:[WinError32]另一个程序正在使用此文件,进程无法访问。:'这里一堆路径,是在python文件中用到的font等等`optionorchec