【问题记录】ImportError: DLL load failed while importing _imaging: 找不到指定的模块

在 windows 上使用 matplotlib 包的时候报错如下:

ImportError: DLL load failed while importing _imaging: 找不到指定的模块。

需要在 Path 中添加 anaconda 的路径:

第一步:找到高级系统设置

在这里插入图片描述

第二步:进入环境变量

在这里插入图片描述

第三步:进入 Path

在这里插入图片描述

第四步:点击新建,添加下面四个路径(注意,需要和你电脑上的 anacoda 路径匹配)

在这里插入图片描述

D:\soft\anaconda
D:\soft\anaconda\Scripts
D:\soft\anaconda\Library\bin
D:\soft\anaconda\Library\mingw-w64\bin

猜你喜欢

转载自blog.csdn.net/jiaoyangwm/article/details/129400635