在使用matplotlib的过程中出现了以下错误:
ImportError: DLL load failed: 找不到指定的模块。
本人环境是anaconda的虚拟环境和pycharm,在网上找了很多方法:
1.切换matplotlib的导入方式,两种导入方式如下(无论换成哪个都不好使)。
from matplotlib import pyplot as plt
# import matplotlib.pyplot as plt
2.卸载matplotlib并重新安装。(不好使)
3.Python的版本和matplotlib的版本不一样,可能Python是32位而matplotlib是64位。(没试不知道好不好使)