在import matplotlib的时候报错DLL load failed while importing _imaging: The specified module could not be found.
解决方法:
1. 重新安装matplotlib
先卸载,然后安装
pip uninstall matplotlib
pip install matplotlib
2. 如果还不行,重新安装Pillow
pip uninstall Pillow
pip install Pillow
我的环境重新安装Pillow才解决。