问题为:matplotlib的安装版本不兼容 仅需运行如下代码即可解决问题! pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib==3.0.3