python 导入matplotlib报错

from . import ft2font 

ImportError: DLL load failed: 找不到指定的模块 如下图所示:

python 导入matplotlib报错_第1张图片

解决方法:更换低版本matplotlib

pip3 uninstall matplotlib
pip3 install matplotlib==2.2.3  -i https://pypi.tuna.tsinghua.edu.cn/simple

参考博文:https://blog.csdn.net/jzwong/article/details/105092409?utm_medium=distribute.pc_relevant.none-task-blog-baidulandingword-4&spm=1001.2101.3001.4242

你可能感兴趣的:(python,matplotlib)