Vscode环境下运行python中的matplotlib模块,出现以下报错:
ImportError: DLL load failed while importing _path: 找不到指定的模块。
问题:可能是matplotlib的版本太高,和当前的python版本不匹配。
解决方法:卸载当前的matplotlib的模块,pip uninstall matplotlib,
安装低版本的matplotlib,建议下载3.3.1版本的,pip install matplotlib==3.3.1